Change relative orders to percentage of price feed

The current relative orders implementation specifies the desired price as a delta from the current price feed.
@bytemaster and I discussed this, and came to the conclusion that it should be a percentage of the current price feed instead.  From an economic theory standpoint, "money is geometric" and using percentages is the more "correct" way.  From a practical coding standpoint, it will allow us to support relative orders either above or below the feed.

Okay, starting to write an implementation of this has revealed some interesting (but ultimately solvable) problems.  We must use all-integer arithmetic, i.e. we must do the computation price * relative_percentage.  @bytemaster suggested keeping the existing market_index_key field type where the price is essentially a uint128 with 64-bit fixed point semantics.  Then you essentially have price * bid_op.bid_index.order_price >> 64.  Of course the multiplication requires a full 256-bit product of two uint128's, which I have already implemented in an fc patch (I plan to merge it shortly).
The problem with this approach is that I'm not sure it's desirable to allow such a high degree of quantization.  To me there is some sense of allowing only a precision of 10000, i.e. if someone bids 99.25% of the market price, the next highest possible bid "should" be 99.26%, not 99.25000000000000000542101086242752217003726400434970855712890625% which would be the next available "step" if we use the above approach.
Therefore, I propose simply quantizing by a factor of 10000 (hard-coded where we #define the chain parameteres) so relative orders have a "tick" of 0.01%.  We then multiply by the numerator and divide by 10000.  If the feed value is large and the multiplication would produce a result out of range, we can simply shift right 15 places (this provides ample room to multiply even the maximum uint128 value by a number up to 32768, which is sufficient because the numerator will be limited to 20000 or below), multiply, divide by 10000, and shift left 15 places.  The left shift can still overflow, but we can prevent this by forbidding publishing a feed price of 2**63 or larger (thus a relative order will always represent a price that will "fit").
Note, 0.01% of the price will always be a "reasonable" quantization step, regardless of the range of the feed or the value of BTS.
This also provides a small bonus:  If (for relative orders) we replace the market_index_key data type with, say, a relative_market_index_key, we can save 14 bytes of blockchain storage per relative order because a uint16_t suffices to store a quantized percentage from 5000 (50.00%) to 20000 (200.00%).  You'll never be mixing quantized percentages and regular prices anyway, so there is really no reason to use the same type for the index of both of them.

Full 128 * 128 -> 256 multiplication implementation:  https://github.com/BitShares/fc/commit/6ecb55ac2e8e212ff8849945b4c5dadcfede5a1a
Full 128 * 128 -> 256 multiplication test:  https://github.com/BitShares/bitshares/commit/a4a51e3d1260dc0a0aa2645dac2d15c00745ffea

@bytemaster : I suggest you work on getting the relative ask to do satoshi conversion (i.e. prices shown to / entered by the user are unit-to-unit exchange rates, internal blockchain uses satoshi-to-satoshi exchange rates, and we need to convert between the two since XTS and USD have different precision).  It is certainly needed for display, it may also be needed for actual semantics.  This is called "precision dance" in some existing code.

submit_relative_ask call was fixed by b8817c6587276fa888f7c88c14ac39304dfb5733

This change has been implemented and tests pass.


Implement system-wide remotes

The CLI tool (lxc) reads its config from ~/.config/lxc/config.yml, that's where the various remotes are defined except for the built-in ones.
Users on shared systems have shown interest in adding remotes to all users.
For this, we'd need the LXD CLI to read both its normal config as well as a global configuration.
The apply order would effectively be:

Built-in
System
User

With each level being able to override the other, resulting in a complete config.
When saving, only what's specific to the user should be saved. Users will be able to override system remotes at which point they'll just be added to their own config.
On top of having a global config.yml, we also will need a global servercerts directory to host potential certificates for the global remotes. If a remote is marked as coming from the global config, we'd look for certs in that path rather than the usual ~/.config/lxc/servercerts.

Hi! I'm a student from UT and my team would like to tackle this issue!

Thanks, assigned it to you.

@zhenr667 Do you still intend to work on this or should we un-assign so someone else can have a go at it?

@zhenr667 Do you still intend to work on this or should we un-assign so someone else can have a go at it?

@stgraber I don't think I can work on this, sorry for the trouble.

@stgraber I don't think I can work on this, sorry for the trouble.

@stgraber Can I work on this one?

Of course, assigned!

@stgraber , as usual couple of questions to you:

Is it ok to keep global config in /var/lib/lxd/config (as default, of course respecting shared.varPath)?
Should we introduce new Global field for Remote struct because as you said we need to know where to search potential certificates?
How we should behave when user try to rename global remote. Should we create a new one in user config and display two of them (new from user config and old one from global)? Or maybe prevent renaming global remotes? Or display only new one but then we need to keep info about relation to the global one.

I think I'd want to avoid /var/lib/lxd as that's really the server data.
Instead, it'd be more appropriate to use /etc/lxd for this I believe.

Introducing a Global bool to Remote similar to Static would probably make sense, if only to be able to show where a remote came from and to avoid saving it in the local config.

Any change to a global remote should cause it to get duplicated into the local config, so if set-url is used, you get a copy under the same name, if rename is used, you get a local copy under the new provided name.

@stgraber should we have any possibility to add, remove system remotes from cli (lxc)? Or this will be allowed only manually?

Just manually for now is fine.


Problem extending $resource object before the response has arrived.

Hi guys I've found what I think is an unexpected behaviour on $resource.
if you create a $resource obj, call get and try to extended it before the $http response has arrived whatever you have added to the object gets removed.
Here you have an example the problem. http://jsfiddle.net/carpasse/rUXVY/9/
I think the problem is that you are using 'copy' instead of 'extend' to fill the future once you get the response but again I don't even know if you consider this a bug.

hey is it too late to grab this issue?

TBH, I don't think the current behavior should be changed. It is intentional that we delete other properties, because the object is supposed to reflect the data from the server. Having the local object contain extra properties would be quite confusing (e.g. one would not be able to tell if a specific property is "client-only" or is part of the actual saved object on the server.
If one absolutely needs to have such properties, I think they are better added in a response interceptor. or in some other way (e.g. extending the return resource object).

Sounds good, I'm just going through old PR Plz issues to see what needs to
be doing.
On Tue, Sep 26, 2017 at 2:13 AM George Kalpakas<EMAIL_ADDRESS>wrote:

TBH, I don't think the current behavior should be changed. It is
intentional that we delete other properties, because the object is supposed
to reflect the data from the server. Having the local object contain extra
properties would be quite confusing (e.g. one would not be able to tell if
a specific property is "client-only" or is part of the actual saved object
on the server.
If one absolutely needs to have such properties, I think they are better
added in a response interceptor. or in some other way (e.g. extending the
return resource object).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular.js/issues/1453#issuecomment-332096183,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeyVS3I6GI69yba1pilcYHzQhJp3hKmTks5smJXsgaJpZM4AMpqy
.


Receiving a complete unordered message while reassembling another message causes the association to be aborted

I can reproduce this by simulating network reordering and alternating between sending messages that get fragmented (size greater than MTU) and smaller messages that aren't fragmented.
The problem seems to be this block of code:
		/* Its a complete segment. Lets validate we
		 * don't have a re-assembly going on with
		 * the same Stream/Seq (for ordered) or in
		 * the same Stream for unordered.
		 */
		SCTPDBG(SCTP_DEBUG_XXX, "chunk_flags:0x%x look for msg in case we have dup\n",
			chunk_flags);`
		if (find_reasm_entry(strm, msg_id, ordered, old_data)) {
			SCTPDBG(SCTP_DEBUG_XXX, "chunk_flags: 0x%x dup detected on msg_id: %u\n",
				chunk_flags,
				msg_id);

			goto err_out;
		}

I don't understand why this is necessary. If fragmented segments can be received while reassembling another fragmented message, why can't a complete segment be received? That seems the simpler case to handle. If I remove this condition, things work as expected.

This is a check for mainly I-DATA chunks. If you are receiving a complete message with a MID, you can't have one in the reassembly queue with the same MID. It might go wrong with DATA chunks...
Are you using ordered or unordered messages?

I added some testscripts (see https://github.com/sctplab/sctp-idata/commit/dd6d486a6aff034c0dee48fd67c8eddc83838b6b) testing the reassembly of

a complete unordered messages followed by a fragmented unordered message
a fragmented unordered message followed by a complete unordered message

using DATA chunks and all possible permutations of arriving packets. Some tests fail. I'm investigating.

I'm testing unordered messages (with DATA chunks). Which means find_reasm_entry will return something if there's anything in the unordered reassembly queue.

The following commit https://github.com/sctplab/usrsctp/commit/4ce5badc821451f5dd5aa43fb75cbb93bacdf187 fixes the issues I saw with the test scripts I wrote.  Please retest with the above commit and let me know if you find any issues.

My tests are passing after this commit. Thanks for the quick fix!

Thanks for testing and the report. Let me know if you find any further issues.


Google gRPC (C++) building under VisualStudio 2013. Link errors (Fixed)

Here I had a problem with building HelloWord gRPC sample under VisualStudio 2013.
The correct options to compile my project are:
(New project created in vsprojects/Solution gRPC (bad idea, but it easily can be moved)). All packages are restored with Nuget.
Includes
$(SolutionDir)..
$(SolutionDir)..\include
$(SolutionDir)..\third_party\protobuf\src
$(SolutionDir)\packages\grpc.dependencies.zlib.<IP_ADDRESS>\build\native\include
$(SolutionDir)\packages\grpc.dependencies.openssl.<IP_ADDRESS>\build\native\include
$(SolutionDir)\packages\gflags.<IP_ADDRESS>\build\native\include
$(SolutionDir)\packages\gtest.<IP_ADDRESS>\build\native\include
Additional Library Directories
$(SolutionDir)$(Configuration) // here I put libprotobuf.lib, grpc.lib, gpr.lib, grpc++.lib
$(SolutionDir)\packages\gflags.<IP_ADDRESS>\build\native$(Platform)$(PlatformToolset)\static\Lib
$(SolutionDir)\packages\gtest.<IP_ADDRESS>\build\native\lib\static$(Configuration)
$(SolutionDir)\packages\grpc.dependencies.zlib.<IP_ADDRESS>\build\native\lib$(PlatformToolset)$(Platform)$(Configuration)\static\cdecl
$(SolutionDir)\packages\grpc.dependencies.openssl.<IP_ADDRESS>\build\native\lib$(PlatformToolset)$(Platform)$(Configuration)\static
Additional Dependies
libeay32.lib
ssleay32.lib
zlib.lib
gflagsd.lib
gtestd.lib
libprotobuf.lib
ws2_32.lib
grpc.lib
gpr.lib
grpc++.lib
Notice that after adding grpc++.lib everything become great.
Additional Info
Issue "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)"
Fix - Define _WIN32_WINNT with corresponding OS value (The value can be found Here
Issue " error C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe...'"
Fix - Use _SCL_SECURE_NO_WARNINGS in Preprocessor
While compiling protobuf and grpc try to watch at corresponding valued for (MT - MT, MD-MD, MTd-MTd and so on)

So this is more of a guide to build the example under Visual Studio than anything else. I'll close this, hoping people googling for that will find that.


[Event Request] Table 5405 "Production Order" - OnGetDefaultBinOnBeforeThirdPrioritySetBinCode

Hi, would it be possible to get an OnGetDefaultBinOnBeforeThirdPrioritySetBinCode event in table 5405 (Production Order), like this:
    local procedure GetDefaultBin()
    var
        Item: Record Item;
        StockkeepingUnit: Record "Stockkeeping Unit";
        WMSManagement: Codeunit "WMS Management";
        VersionManagement: Codeunit VersionManagement;
        RoutingNo: Code[20];
        IsHandled: Boolean;
    begin
        "Bin Code" := '';

        if "Source Type" <> "Source Type"::Item then
            exit;

        if "Location Code" = '' then
            exit;

        GetLocation("Location Code");
        if not Location."Bin Mandatory" or Location."Directed Put-away and Pick" then
            exit;

        if StockkeepingUnit.Get("Location Code", "Source No.", "Variant Code") then
            RoutingNo := StockkeepingUnit."Routing No.";
        if (RoutingNo = '') and Item.Get("Source No.") then
            RoutingNo := Item."Routing No.";

        // 1st priority - output bin from work/machine center
        if RoutingNo <> '' then
            "Bin Code" :=
              WMSManagement.GetLastOperationFromBinCode(
                RoutingNo, VersionManagement.GetRtngVersion(RoutingNo, "Due Date", true), "Location Code", false, 0);

        // 2nd priority - default output bin at location
        if "Bin Code" = '' then
            "Bin Code" := Location."From-Production Bin Code";

        // New Event begin
        IsHandled := false;
        OnGetDefaultBinOnBeforeThirdPrioritySetBinCode(Rec, xRec, IsHandled);
        if not IsHandled then
        // New Event end
        // 3rd priority - default bin at location
        if ("Bin Code" = '') and ("Source No." <> '') then
            WMSManagement.GetDefaultBin("Source No.", '', "Location Code", "Bin Code");
    end;

    [IntegrationEvent(false, false)]
    local procedure OnGetDefaultBinOnBeforeThirdPrioritySetBinCode(var ProductionOrder: Record "Production Order"; xProductionOrder: Record "Production Order"; var IsHandled: Boolean)
    begin
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[WIP] Vectorization

Work in Progress - Do not merge!
Implements some infrastructure to support vectorization in Weld, and implements code generation for use of vector instructions for the Merger vector type.
A more detailed description is forthcoming.

This design is changing slightly; I'm going to close this pull request for now.


DRAMSys added

Added DRAMSys to the tools.

Please update to resolve conflicts.
Videos can be added to this page https://systemc.org/resources/videos/

Okay done.

Many thanks for the contribution/update


License

Hi @agibli,
Would it be possible to add an open source license to this code? Such as MIT or Public Domain.

Good call! MIT license added in commit e87dffd.
Regards,
Alon

Thanks!


BUG: No hovering effect on 'Contact Us' icons

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There is no hovering effect on the icons in this section .
Here is screenshot of the section :

I will like to work on this issue, please assign this to me under GSSOC'24.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

#311 Already the PR is in pending review


[HOLD] Initial commit of skyuxconfig.json schema

Users would need to add the following to their skyuxconfig.json files:
"$schema"<EMAIL_ADDRESS>

Codecov Report

Merging #347 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #347   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          65     65
  Lines        1631   1631
  Branches      253    253
=====================================
  Hits         1631   1631

Flag
Coverage Δ

#builder
100% <ø> (ø)
:arrow_up:

#runtime
100% <ø> (ø)
:arrow_up:

#srcapp
100% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

runtime/config.ts
100% <ø> (ø)
: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 ef8eb3d...07fd1a6. Read the comment docs.


Allow sizes to be specified without suffix (bytes)

In some environments, for example k8s, we can pass along Memory or Disk
sizes directly, however currently we need to ensure we add a suffix to
these sizes, as the tool requires a unit specifier.
The pg_size_bytes function of PostgreSQL also allows the same behaviour,
defaulting to bytes if no unit is specified.
The previous definition of B (bytes) already resulted in an error
message and was therefore unusable.

Codecov Report

Merging #60 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage    91.7%   91.72%   +0.01%
==========================================
  Files          17       17
  Lines         892      894       +2
==========================================
+ Hits          818      820       +2
  Misses         63       63
  Partials       11       11

Impacted Files
Coverage Δ

internal/parse/parse.go
93.54% <100%> (+0.21%)
: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 3546c23...55b96ba. Read the comment docs.


Adjust to golangci-lint 1.58.2

...regarding use of math/rand over crypto/rand.

@tpantelis Go linter check is failing

@tpantelis Go linter check is failing

@vthapar see https://github.com/submariner-io/shipyard/pull/1651#issuecomment-2125046731 — this PR needs an updated golangci-lint, it will pass once the Shipyard PR is merged.


[NO MRG] Test conda-smity via webservcies

This PR is to test the fix to https://github.com/conda-forge/conda-smithy/issues/2108.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

noarch: python recipes are required to have a lower bound on the python version. Typically this means putting python >=3.6 in both host and run but you should check upstream for the package's Python compatibility.

For recipe/meta.yaml:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.


[MIST-1161] Fix ClassNotFoundException on state deserialization

This PR closes #1161 via

Adding external class loaders for deserialization.
Use internal SerializeUtils when (de)serializing the states.

LGTM. I'm merging it


Current Task Status

Hi, I enjoy using Schedulejs, however I want to know if there is a feature that enables me to know what task is currently busy and how long duration is left?

Currently no.  You would need to track this information yourself.


If user have long name that time in notification bell icon doesn't any margin

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
1.Open chat
2. Send message other user
3. Check notification center.
Expected result:
Some space between bell and end edge.
Actual result:
Bell icon doesn't any margin end side
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native -One plus Nord CE 2
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @jaydipramani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682611150081729
View all open jobs on GitHub

Triggered auto assignment to @lschurr (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Will triage this today.

@kavimuru - could you provide more clear steps for reproduction? What user am I sending a message to? Does the length of the name of the other user matter?

Example:
If you have two user.

Abc
Abcdefghijklmnop

Send message from 2 to 1 and check notification in user 1
In notification bell icon doesn't have any margin end side

📣 @jaydipramani! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~017e5c3edbd219071d

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

I don't see this happening in browserstack on OnePlus. Adding Eng for another set of eyes.

Triggered auto assignment to @bondydaa (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I'm unable to reproduce following all of the steps in a test environment with a OnePlus device.
@kavimuru @jaydipramani - this seems device specific. Are you able to reproduce on any other device?

@lschurr  I was not able to reproduce on Galaxy S10


Fix window size of RedoCard

Codecov Report
Base: 69.41% // Head: 67.84% // Decreases project coverage by -1.56% :warning:

Coverage data is based on head (f0da4f0) compared to base (7886b89).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #269      +/-   ##
============================================
- Coverage     69.41%   67.84%   -1.57%
- Complexity      851      854       +3
============================================
  Files           161      163       +2
  Lines          3067     3160      +93
  Branches        337      354      +17
============================================
+ Hits           2129     2144      +15
- Misses          833      906      +73
- Partials        105      110       +5

Impacted Files
Coverage Δ

...n/java/seedu/uninurse/storage/JsonAdaptedTask.java
59.09% <0.00%> (-22.73%)
:arrow_down:

.../main/java/seedu/uninurse/model/task/DateTime.java
51.85% <0.00%> (-13.27%)
:arrow_down:

.../main/java/seedu/uninurse/model/task/TaskList.java
58.06% <0.00%> (-9.29%)
:arrow_down:

...n/java/seedu/uninurse/logic/parser/ParserUtil.java
82.03% <0.00%> (-7.51%)
:arrow_down:

.../java/seedu/uninurse/model/task/RecurringTask.java
0.00% <0.00%> (ø)

...ain/java/seedu/uninurse/model/task/Recurrence.java
100.00% <0.00%> (ø)

...c/main/java/seedu/uninurse/model/ModelManager.java
83.56% <0.00%> (+0.46%)
:arrow_up:

...c/main/java/seedu/uninurse/logic/LogicManager.java
69.56% <0.00%> (+1.38%)
:arrow_up:

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

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


chore(doc-gen): fix the doc gen script

I never ran into the annotation problem @juliemr talked about, so please test this on your local machines

I get sh: gulp: command not found. Confused as to where that's coming from - I'm looking into it...

I also get a lot of error messages but they don't seem to actually stop docs from being generated.
Notably:
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

I think this is due to old versions of some sub dependencies, probably from dgeni.

@juliemr those definitely don't sound like a problem with the script itself.

This looks pretty good to me and runs without completely falling over.


[Event Parameter Request] table 37 "Sales Line" - OnAfterAssignItemValues

    //OnAfterAssignItemValues(Rec,Item); A108F0025.Event.21.00.o
    OnAfterAssignItemValues(Rec, Item, SalesHeader); //A108F0025.Event.21.00.n

[IntegrationEvent(false, false)]
local procedure OnAfterAssignItemValues(var SalesLine: Record "Sales Line"; Item: Record Item; SalesHeader: Record "Sales Header")
begin
    //A108F0025.Event21.00 SalesHeader parameter
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 49170.


Parsing error for large multiline strings

When running following code:
bind
  [#foo text: "

"]

Eve report an error:
Invalid function argument
(passed string)

Only expressions can be arguments to functions

19|"]
  ^

It's ok for less lines.

Now multiline strings are squashed into an empty string, e.g. nothing is displayed for following code:
init
bind
  [#foo value: "foo
"]

show
match
  foo = [#foo]
bind
  [#pre text: foo.value]


Improve error description when deserializing partial field struct

What does this PR try to resolve?
Fixes #13688
How should we test and review this PR?
one commit add test, one commit fixed and update the test.
Additional information

Other tests will fail and need to be manually updated, more than 20 in total. I can update them later

Looks awesome. Thanks!
@bors r+

:pushpin: Commit e05d930e16085184658954e9e94e8f276d022b91 has been approved by weihanglo
It is now in the queue for this repository.

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing a8d72c675ee52dd57f0d8f2bae6655913c15b2fb to master...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing a8d72c675ee52dd57f0d8f2bae6655913c15b2fb to master...

:eyes: Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.


Return error at strike=0

Issue found by @day01 of error incorrect handling of zero strike (k=0), we should return error in this situation as BS model is undefined at k=0.
I have concern
fn calc_delta(&self) -> Result<f32, String> ->
pub fn calc_nd1nd2(inputs: &Inputs) -> Result<(f32, f32), String> { ->
pub fn calc_d1d2(inputs: &Inputs) -> Result<(f32, f32), String> {
to be precise:
let numd1 = (inputs.s / inputs.k).ln() + (inputs.r - inputs.q + (sigma.powi(2)) / 2.0) * inputs.t;
for strike price inputs.k = 0.0 we get result from calc_nd1nd2 equals +inf, +inf.
Implementation of normal.cdf correctly returns 1.
So in my opinion it shadows error for us.
links:

https://github.com/hayden4r4/blackscholes-rust/blob/25a040f8d423cac2802f56ebbb77723fad6bbb9a/src/greeks.rs#L41

In my opinion we should return Err for these case. how do you think?

UPDATE:
These error is not only here, bcs it is common function ...
Originally posted by @day01 in https://github.com/hayden4r4/blackscholes-rust/issues/8#issuecomment-2195293139

fixed by #10


[release-1.10] Fallback metric customization test to nullvm if remote URL is not accesible

This is an automated cherry-pick of #32246

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.10
b94299a4b4886420b2a132b0587d7066000b67aa
link
/test unit-tests_istio_release-1.10

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Send a tumbling window into a single record to kinesis

Hi all,
I am trying to send a window of logs of kinesis analytics into a single kinesis stream (output)record. I was wondering if it is possible.
Thanks,
David

Good question, I thought about using kinesis analysis as well. But I do not know if you plan works, sorry ;)


<EMAIL_ADDRESS>decompress error

Fresh scoop install on fresh Windows 11.  Am I missing something scoop-specific to decompress .msi?
I'm showing the output because the log file does not exist.
Installing 'foxit-reader' (<IP_ADDRESS>56) [64bit] from extras bucket
Loading FoxitPDFReader1213_L10N_Setup.msi from cache
Checking hash of FoxitPDFReader1213_L10N_Setup.msi ... ok.
Extracting FoxitPDFReader1213_L10N_Setup.msi ... ERROR Exit code was 1622!
Failed to extract files from C:\Users\Ray\scoop\apps\foxit-reader\<IP_ADDRESS>56\FoxitPDFReader1213_L10N_Setup.msi.
Log file:
~\scoop\apps\foxit-reader\<IP_ADDRESS>56\msi.log

Check the error code on this page: https://learn.microsoft.com/en-us/windows/win32/msi/error-codes

Restart PC then retry install the manifest
Use alternative MSI extractor by toggle config item scoop config use_lessmsi true|false (default: false)


Versions out of Sync

Seems that the versions may be out of sync.
Context
Commit 780205a87c7e1c9129ec6ac02eba1f4755540e82 highlights v0.4.0 release.However, NPM currently picks v7.x.x.
    "nact": "^7.6.0",

Is this intentional? And how does one safely get all the latest changes?

I'd recommend that you use version 7.6.0 on NPM.
Version v0.4.0 is still experimental and is part of the next branch. The next branch is being published under the package name @nact/core


Change text direction to RTL

How can I change text direction to RTL? I need to support both left to right and right to left languages.
I changed .CodeMirror-line to:
        .CodeMirror-line {
            direction: ltr !important;
            text-align: right !important;
        }

But still it doesn't work correctly.
@WesCossick

Duplicate of #629


[synthetic-job-manager] container not running on arm64

Bug description
This project doesn't seem to support/work with arm64
Which chart?
latest
What happened?
The container can't start on arm64 nodes.
How to reproduce it?
Run project on arm64 nodes

Could someone at least share why?

Chrome, which we use as part of the browser runtime with Job Manager, does not provide an ARM based Linux install. We do not want to change to use Chromium instead. This blocks our ability to support ARM with Job Manager and its runtimes.


SEO: pagination instead of infinite scroll

since we have implemented sitemap, this issue is no longer to do.


Complete remotes in interactive commands

This PR enables tab completion for remotes in interactive commands.

wow I like this feature.


Newest version of the Python extension doesn't seem to be working with Live Share

Describe what happened:
What was your system configuration?
Product and Version [VS/VSCode]: VS Code 1.53.2
OS Version[macOS/Windows]: Windows 10
Live Share Extension Version: v1.0.3784
Target Platform or Language [e.g. Node.js]: Python
Steps to Reproduce / Scenario:

Open a Python project/file
Install the Python extension (version 2021.2.576481509)
Share a Live Share session with another machine

The guest session gets stuck at "Joining collaboration session: Joined". The guest can see where the host was in the code in the beginning, and same for the host. But that doesn't change when they move or change anything in the code. The host did give permission for it to be a read-write session.
It doesn't seem to happen when we downgrade to 2021.1 of the Python extension, but we don't do anything specific to add support for Live Share AFAIK. So I'm not sure what is going on!
Weirdly enough, if the guest session joins through the browser, everything works with the latest version of all the related extensions 🤷♀
Please attach logs to this issue:
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
livesharehostlogs.zip
Couldn't generate logs for the guest session as the command to export logs simply didn't work.

Hi,  thank you for reaching out and attaching your logs.
@daytonellwanger assigning the issue to you but feel free to reassign it is not your area.

I'm also able to repro this.
It looks like the Python extension might be locking up the VS Code extension host? Live Share isn't able to call any VS Code APIs or receive event notifications, which is why Live Share functionality is broken.
@rchiodo , could you investigate a bit on your end to confirm this suspicion, and if it checks out, find the cause? I'm happy to help if you find evidence that Live Share is involved.

Closing in favour of https://github.com/microsoft/vscode-python/issues/15441.


Allow disabling plugin by setting importOrder to []

Closes https://github.com/IanVS/prettier-plugin-sort-imports/issues/159
This changes up how we handle importOrder: [] in the prettier config.  Previously, we would have applied our default config, such that builtins, node modules, and relative imports would be sorted.  Now, it effectively disables the plugin so that no sorting takes place.
This could be seen as a breaking change, but instead I see it as a bug fix.  It doesn't make sense that using an explicit empty array for the setting causes a fallback to be used.
Additionally, this gives users more control over disabling the plugin and turning it on only for certain subfolders or types of files, as shown in the referenced issue and documented in the readme in this PR.

Thanks for the reviews!


Add airflow "extra" packages.

ref: conda-forge/staged-recipes#3014

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The top level meta keys are in an unexpected order. Expecting ['package', 'source', 'build', 'requirements', 'test', 'outputs', 'about', 'extra'].

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

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The recipe must have some tests.

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

merging since it was only to keep the linter happy...


Documentation says use "base_url" but the config actually uses "site_url"

See title.

doh! It is fixed now, thanks :)


Add Condition with Predicate parameter as alternative to check element conditions

Since Java 8 supports Lambda notations, there should be a possibility to check custom conditions with Predicate<WebElement> instead of writing a new Condition class which overrides Condition.accept(WebElement).
Example: Check if input element (id=myinputfield) doesn't contain any text (method name can be different)
Selenide.$("#myinputfield")
   .should(Condition.customCondition(w -> w.getAttribute("value").isEmpty()));

If giving each Condition a name is mandatory, maybe calling it like this:
Selenide.$("#myinputfield")
   .should(Condition.customCondition("Input element is empty", w -> w.getAttribute("value").isEmpty()));

[ ] Add static function which accepts a Predicate (and String name) as parameter(s)

Implemented in https://github.com/selenide/selenide/pull/1059


Fix for Chartist rendering issue

The overflow-x: scroll on the dashboard element that was introduced in Hygieia-2 caused charts to be rendered smaller than necessary under certain conditions.

Are we still using Jenkins collector in 2.0 or the hygieia Jenkins plugin?
Regards,
Keyur
On Feb 15, 2016, at 8:41 PM, tabladrum <notifications<EMAIL_ADDRESS>wrote:
Merged #331https://github.com/capitalone/Hygieia/pull/331.
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/pull/331#event-551455828.

Will support both for now.


fix overzealous validation errors

Before this change, benchmarking spuriously fails:
./run-tests.sh
python benchmark/benchmark.py

Small - 1 rec - 100,000 runs
Writing 1 records to one file...
... 100000 runs averaged 2.65738511086e-05 seconds
Reading 1 records from one file...
... 100000 runs averaged 2.72266125679e-05 seconds
Validating 1 records from one file...
Traceback (most recent call last):
  File "benchmark/benchmark.py", line 161, in <module>
    valid = validater(schema, original_records, runs=num_runs)
  File "benchmark/benchmark.py", line 28, in validater
    valid = validate_many(records, schema)
  File "fastavro/_validation.pyx", line 228, in fastavro._validation.validate_many
    cpdef validate_many(records, schema, bint raise_errors=True):
  File "fastavro/_validation.pyx", line 239, in fastavro._validation.validate_many
    raise ValidationError(*errors)
fastavro._validate_common.ValidationError: []

validate_many is the culprit, though mysteriously validate_union seems to have the same issue (fixed here), but is apparently never exercised by any tests?

The new validation was tested with unittest and benchmark. If something fails to validate true it raises the error when set true to raise errors. So if its returning false with an empty errors list then we need to fix the underlying bug around raise errors.  Can you provide the data/schema that's causing the error?

I'm confused / think we're miscommunicating. AFAICT:

since https://github.com/tebeka/fastavro/commit/36a0f3dfe312d3cf00f810a3f909a9b2ae799042 6d ago, validate_many and validate_union will incorrectly always throw a ValidationError, even when no errors were found, unless raise_errors is explicitly passed as False

this situation would have arisen previously anytime raise_errors was passed as True, but the default was False (and that was used at all call-sites?)

python benchmark/benchmarks.py hits this bug and fails with a ValidationError where there should have been none

this script is not run in any of the CIs, so it was not noticed as broken

this change fixes things so that a ValidationError is only thrown when validation errors occur

lmk if I'm missing something or that doesn't make sense, thanks

Wow, totally correct. Possiy Scott can get this merged. Can you add a unit test to prove that raise does not raise when true?

Good catch. I changed validate to have raise_errors True by default (with the thought that later we might have another is_valid that could set raise_errors to False as a boolean check.
as @rhaarm mentioned, it would be good to have a test for this. I think it should be sufficient to modify this test: https://github.com/tebeka/fastavro/blob/19f7c6e30f6e225652a12e4cea35f1b88ef3fcec/tests/test_validation.py#L66-L72
And simply add the following below the assert:
# Should not raise any exceptions
validation_raise(schema, *records)

When I make that change locally without your fix I get a failure which exposes the problem.
After making this change it will expose that we need to make the same change in _validation.pyx that you did in _validation_py.py

great, thanks for the feedback. I added the test and the _validation_py.py version.
I also noticed that the validate_union case doesn't have this problem, though I previously thought it did; True is returned before the if raise_errors check.
let's see what the CIs think…


Install the PostgreSQL (11.5 & 12.10) development source code into your development environment.

Install the PostgreSQL (11.5 & 12.10) development source code into your development environment. You will not be installing it to automatically run under root at system start up. Rather, you will be installing it such that you can bring it up (and down) locally under a regular development account.

Installed PostgreSQL under a directory on my Linux VM.

I have PostgreSQL 11.17  installed. Is that fine? Or should I remove it and Install 11.5? Is it okay if both installed pg versions are under the folder /usr/lib/postgresql ?

You can have multiple development versions of PG installed in your development directories. However, don't install them to run under root or under the system. You want to bring them up and down under your development account.

Is it okay to have PG 11.17 and 12.12 instead of 11.5 and 12.10? I couldn't find any way of installing specific "minor" versions of PG.

You will need to download the PostgreSQL "source" and build it in your development environment. Go to the following link and on the left you'll see Source, under Downloads -
https://www.postgresql.org/download/
Btw, this also means that you will need to have gcc and gdb installed.

Getting error while running make install with PG 12.10

I don't know if these issues cause that error.

You shouldn't be using sudo for any of this.
You will need to download the source code for PG 11.5 & 12.10 and create directories for each PG version, under a development account. Not a root account. Root isn't necessary for any of this.
You will need to follow the build instructions - which means using 'configure' - to build that PG version. See PG's INSTALL readme.
You will need to then build the AGE extension into each specific version of PG.

PG 11.5 and PG12.10 installations were successful in 2 separate directories (tested them as well).  When I build the AGE extension with PG12, it throws this error (ag_graph.c -> insert_graph(args) -> error: void value not ignored), although with PG11 I was able to build and run the regression tests successfully.

Are you building the correct AGE branch for PG12?

Yes, I used "AGE PG12.1.0 ALPHA" for PG12.

Do we need PG12.10 or PG12.1 (inferring from the title of the branch)? I will try with PG12.1.

Is that the only error? What OS?

Actually, that error shows that you aren't actually building the extension from the AGE ALPHA PG12 release.

Actually, that error shows that you aren't actually building the extension from the AGE ALPHA PG12 release.

I am using Ubuntu 22.04 LTS.

Yes, thank you you were right, resolved. :)

Where should these pg installations be? I created a folder(pgsql11) under documents and installed(make --prefix install) it in this created folder. But it doesn't seem to work. Should it be under /usr/local/ or something?

Mine are under my development home directory, as an example.

I currently have it in home/usr/pgsql-11.5, but when I change the usr(su - postgres) to test psql, I cannot find this. So should I move this installations inside the root(somewhere like /usr)

I keep getting this error that postgres is not in sudoers file. This incident will be reported. Any idea what to do?

I tried installing again everything from start. Now I am getting this error, Don't know what to do.

There is no need to install or run PostgreSQL under root, so no need to have it in the sudoers file. You should install and run it directly under your development account. You will need to run the executable located in that developer account in the bin directory in the locally installed PostgreSQL directory.

I have updated the above comment to make it more helpful.
Additionally, all 3 of you are encouraged to help each other out.

install completed pg 11.5 and 12.10

Installed pg 11.5 and 12.10.


Form Input type tel

Issue Description

We need a way to specify type="tel" either as a prop on the existing NumberField or as a separate Form component. This will control what type of keyboard is opened on mobile devices.
If implemented as a separate component, we'll also need an onChange prop to sanitize input.
Issue Type

[ ] New Feature
[X] Enhancement
[ ] Bug
[ ] Other

Expected Behavior

Input type is always standard number.
Current Behavior

Input should be able to be telephone number.

Steps to Reproduce

N/A
Environment

Component Version: 1.1.0
Browser Name and Version: Chrome 59.0.3071.115
Operating System and version (desktop or mobile): macOS 10.12.6 (16G29)

Try using a TextField component and specifying the type as a prop (https://github.com/cerner/terra-core/blob/master/packages/terra-form/src/TextField.jsx#L63).  should get you what you need

@noahbenham Does @JakeLaCombe's suggestion work for you.
import React from 'react';
import TextField from 'terra-form/lib/TextField';

// Controlled input example
<TextField
  type="tel"
  label="Telephone Number"
  name="tel"
  value={this.state.formData.telephone}
  onChange={this.handleTelephoneUpdate}
/>

@bjankord I've confirmed @JakeLaCombe's suggestion is working. I was previously looking at the older terra-ui.com documentation. Thanks for all the hard work.


Retire: "Azure PostgreSQL migration" extension from Azure Data Studio - 15th Nov 2024

The Azure PostgreSQL migration extension in Azure Data Studio currently offers limited functionality and lacks support for the latest Azure Database for PostgreSQL SKUs, making it less effective for user migration needs. By retiring the extension in Azure Data Studio, we aim to focus on improving and supporting the tools that will offer you the most value in users migration journey.
If users continue to use the Azure PostgreSQL migration extension after November 15, 2024 it will no longer be enhanced or supported, and will not have the latest security and compliance features. We encourage users to transition to the enhanced migration services available in the Azure portal as a feature of Azure Database for PostgreSQL – Flexible server or through Azure CLI. These services include pre-migration validation and are designed to better support your migration projects, ensuring a smoother and more efficient transition to Azure.
Currently, the Azure PostgreSQL migration extension in Azure Data Studio is in public preview. We plan to retire this extension and remove it from all existing and future versions of Azure Data Studio. Please ensure the extension is removed from ADS after 15th Nov 2024
Announcement in Az Update - https://azure.microsoft.com/updates/v2/Azure-PostgreSQL-migration-extension-in-Azure-Data-Studio-1
Identifier - microsoft.postgresql-migration
cc: @croblesm

Hi @apduvuri - we can certainly help with removing the Azure PostgreSQL migration extension from Azure Data Studio.  Can you please answer these quick questions:

What date would you like your extension removed from Azure Data Studio?
[ before | on | after ] <date>

What known locations does your extension need to be removed from?

Built into or shipped with Azure Data Studio?
Code is checked into github.com/microsoft/azuredatastudio, but extension is installed separately?
Only in the gallery (you build the extension yourself)?
Any other locations or integration points referencing your extension?

Hi @Benjin ,

On 15th Nov 2024
Please remove the extension from both ADS and ADS insider JSON. Repo link - https://msdata.visualstudio.com/Migration Assistant/_git/ads-extension-postgresql?_a=history

This change has been rolled out!  Please verify that it's no longer showing in the gallery for you.

Yes, not showing in the marketplace - "Azure PostgreSQL Migration" extension in ADS.


Remove hybrid debugging support

@jianchun please take a look

LGTM.
Thanks!

Yay.  Thanks.
LGTM

@dotnet-bot test Windows x86_release please


[SPARK-46812][CONNECT][FOLLOW-UP] Make handleCreateResourceProfileCommand private

What changes were proposed in this pull request?
Make handleCreateResourceProfileCommand private
Why are the changes needed?
it should not be exposed to users
Does this PR introduce any user-facing change?
no
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.

thank you @dongjoon-hyun and @HyukjinKwon


Use selected language for greeting date and calendar (#663)

⚠ IMPORTANT: Please do not create a Pull Request without creating an issue first.
All changes need to be discusssed before proceeding. Failure to do so may result in the pull request being rejected.
Please be sure to review our Code of Conduct, Contributing Guidelines, and Support documentation before submitting a pull request.

Please include the issue number the pull request fixes by replacing YOUR-ISSUE-HERE in the text below.
Fixes #663
Summary

Greeting date uses selected language
Calendar uses selected language
Fix bug where going to settings page would reset language to English

Test Plan (required)

Final Checklist

[x] For CoronaTracker, did you bump the version in package.json?

Update the second decimal for a major change
Update the third decimal for a minor change
Numbers can go past 9, e.g. 1.0.9 => 1.0.10
For more info, read about Semantic Versioning

[x] Did you add any new tests as necessary?
[x] Is your PR rebased off the most current master?
[x] Have you squashed all commits? (can be done at merge)
[x] Did you use yarn not npm? (important!)
[x] Did you use Material-UI wherever possible?
[x] Did you run yarn lint on the code?
[x] Did you run all of your most recent changes locally to make sure everything is working?

Oh! I should take a look at this before merging the other PR. You need to rebase and update JSON. It would have been easier if I didn't merge that one😅. My intention to give less work not more.


Pdfill does not install

This is a app which wont run if you extract the msi, you have to manually open and install it. Thats why I linked to the exe file instead. And you have to do that as an admin or it will show errors. Also, ghostscript is required.

It installed correctly for me, and the msi installer automatically downloaded GhostScript. I am not extracting the msi; I am running it with msiexec.


Checking for particular style using python-docx

Import the module
from docx import *
Open the .docx file
document = Document('ABC.docx')
for paragraph in document.paragraphs:
for run in paragraph.runs:
if run.style == 'Strong':
print run.text
This is the code I am using to open a docx file and to check if there is Bold text but I am not getting any result. If I remove the if statement , the entire file is printed without any formatting / styles. Can you please let me know how to identify text in particular style like Bold or Italics using python-docx ?
Thank you

I answered this one that you posted on StackOverflow:
http://stackoverflow.com/a/27910938/1902513
Please upvote and accept it there if it answers your question. Otherwise elaborate your question if you need more.

Although bold and the character style Strong appear the same when rendered, they use two different mechanisms. The first applies bold directly and the second applies a character style that can include any number of font characteristics.
To identify all occurrences of text that appears in bold, you may need to do both.
But to just find the text having bold applied you would do something like this:
for paragraph in document.paragraphs:
    for run in paragraph.runs:
        if run.bold:
            print run.text

Note there are ways this can miss text that appears bold, like text that appears in a paragraph whose font formatting is bold for the entire paragraph (Heading1 for example). But I think this is the property you were looking for.

@scanny It would be helpful if you could suggest a way through which I can identify Headings as well. Currently, I have written a script to identify bold, italics, and other styles, but my code misses on few bold texts which are generally headings. Can you please suggest how to identify bold text and headings both with a small sample code and a docx file.
Thanks in advance

import os
import docx

def run_get_style(run) -> str:
    if run.bold and run.italic:
        return "bold-italic"
    elif run.bold:
        return "bold"
    elif run.italic:
        return "italic"
    else:
        return "normal"

def convert_docx_to_html_style(para):
    result = ""
    if para.runs:
        html_para = '
'
        current_style = None
        current_text = ""

        for run in para.runs:
            run_style = run_get_style(run)
            if run_style == current_style:
                current_text += run.text
            else:
                if current_style:
                    if "bold" in current_style:
                        html_para += ''
                    if "italic" in current_style:
                        html_para += ''
                    html_para += current_text
                    if "italic" in current_style:
                        html_para += ''
                    if "bold" in current_style:
                        html_para += ''
                current_style = run_style
                current_text = run.text

        if current_style:
            if "bold" in current_style:
                html_para += ''
            if "italic" in current_style:
                html_para += ''
            html_para += current_text
            if "italic" in current_style:
                html_para += ''
            if "bold" in current_style:
                html_para += ''

        html_para += '
\n'
        result += html_para
    return result

# Citirea documentului DOCX
document = docx.Document("bebe.docx")

# Deschiderea fișierului HTML pentru scriere
with open("bebe.html", "w", encoding="utf-8") as html_file:
    # Scrierea începutului fișierului HTML
    html_file.write("\n\n<title>Document</title>\n\n\n")

    # Parcurgerea și conversia fiecărui paragraf în HTML
    for paragraph in document.paragraphs:
        converted_paragraph = convert_docx_to_html_style(paragraph)
        # Scrierea paragrafului convertit în fișierul HTML
        html_file.write(converted_paragraph)

    # Scrierea sfârșitului fișierului HTML
    html_file.write("\n")

print("Conținutul din bebe.docx a fost salvat în bebe.html.")


🍒 Cherry pick PR #13448 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/13448 to staging 🍒

🚀 Cherry-picked to staging by @OSBotify in version: 1.2.37-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @chiragsalian in version: 1.2.38-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


--wrap-column has no effect

Related: https://github.com/flutter/flutter/issues/23074.
In the following, there is no wrapping of the option description.
> flutter help --wrap-column=80 --verbose | grep column
    --wrap-column              Sets the output wrap column. If not set, uses the width of the terminal. No wrapping occurs if not writing to a terminal. Use --no-wrap to turn off wrapping when connected to a terminal.

I was expecting option descriptions to be wrapped nicely to the specified column. So something like the following.
    --wrap-column              Sets the output wrap column. If not set, uses
                               the width of the terminal. No wrapping occurs
                               if not writing to a terminal. Use --no-wrap to
                               turn off wrapping when connected to a terminal.

Nor does flutter help --wrap --wrap-column=80 --verbose | less work.
My environment is as follows.
> flutter --version
Flutter 1.7.8+hotfix.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b712a172f9 (9 days ago) • 2019-07-09 13:14:38 -0700
Engine • revision 54ad777fd2
Tools • Dart 2.4.0

I am using bash in Terminal.app.

@jonahwilliams Did https://github.com/flutter/flutter/pull/58875 help with this?

Based on the large number of build breakages and flakes in the last few weeks that I've had to investigate, there is a good chance my next few weeks will be similarly occupied. I'm tentatively pushing this to Q4 since there is a good chance I will not get to it in time.

That does not look very easy to do with the args package. Filed https://github.com/dart-lang/args/issues/150 since I think we will need something changed there before this can be fixed reasonably.
@jonahwilliams if you have any suggestions on the API let me know.

Still reproduces as of latest stable 3.0.4 and master 3.1.0, The terminal output takes up the entire width regardless of --wrap-column
mahesh@Maheshs-MacBook-Air-M1 ~ % flutter help --wrap-column=80 --verbose | grep column
    --wrap-column               Sets the output wrap column. If not set, uses the width of the terminal. No wrapping occurs if not writing to a terminal. Use "--no-wrap" to turn off wrapping when connected to a terminal.
mahesh@Maheshs-MacBook-Air-M1 ~ %

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.4 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (4 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 103.0.5060.53

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1494, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.1.0-0.0.pre.1494 on channel master at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 829bddf616 (3 hours ago), 2022-07-04 03:49:08 -0400
    • Engine revision e78ed7f1c9
    • Dart version 2.18.0 (build 2.18.0-251.0.dev)
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 103.0.5060.53

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


Remove utils' GetVmiPod() function and replace it with libpod functions

What this PR does
This PR removes utils' GetVmiPod() function and replace it with libpod functions.
/sig code-quality
Release note

NONE

Unit tests pass locally. Looks like the unit test lane is flaky?
/retest

Unit tests pass locally. Looks like the unit test lane is flaky? /retest

FYI @dhiller looks like there's flakieness in the unit test lane. This lane failed on CI once then passed, and the same was reproduced locally. This is the failure:
//pkg/virt-operator:go_parallel_test: KubeVirt Operator On valid KubeVirt object should update KubeVirt object if generation IDs do not match:

{ Failure pkg/virt-operator/kubevirt_test.go:2001
Expected
    <int>: 26
to equal
    <int>: 25
pkg/virt-operator/kubevirt_test.go:2053}

This PR only modifies files under tests/ so I don't believe the flakiness is caused by it.

These functions are used together and will continue to be used together for the unforeseen future. I think providing a form of "syntactic sugar" here has pros without any practical cons as far as I can tell

This point is clear. My issue is not about the practical simplicity of the user, it's about proper API design. A package should try to work in a specific logical layer, avoid crossing layers or fusing them together. I bet you would be hard-pressed to find something like this in the standard library, unless it is a matter of backward compatibility.

These functions are used together and will continue to be used together for the unforeseen future. I think providing a form of "syntactic sugar" here has pros without any practical cons as far as I can tell

This point is clear. My issue is not about the practical simplicity of the user, it's about proper API design. A package should try to work in a specific logical layer, avoid crossing layers or fusing them together. I bet you would be hard-pressed to find something like this in the standard library, unless it is a matter of backward compatibility.

I think such examples are all around and you can easily find many of them.
For example, in Go's standard library we can find the following functions in the fmt package:

Fprint()
Sprintf()

Following your argument no more API is needed.  We could print stuff in the following way:
fmt.Fprint(os. Stdout, fmt.Sprintf("my favorite number is %d", 5)).
But Go decided to add all sorts of combinations to drastically ease this operation which is very frequently needed:
fmt.Printf("my favorite number is %d", 5).
However if we look at Printf's implementation, it is just a wrapper for Fprintf:
func Printf(format string, a ...any) (n int, err error) {
	return Fprintf(os.Stdout, format, a...)
}

This of course makes sense, as such combinations are so frequently used.
I can think of other examples as well. In python, you'd need to do something like for idx, value = in enumerate(list) in order to have a running index while with go it's for idx, value := range slice. Allegedly again they're combining APIs that can be separated.
As said above, I understand the general principle you're coming from, but don't think it's sacred. Eventually everything is a question of trade-offs, and in situations where two functions are very much related to one another and that are almost always being used together it's the right thing IMO to add a combination which would lead to more writeable and readable code.

I am not a huge fan of premature syntactic sugar, but avoiding it is not a sacred law, only a reminder. I believe that your PR would become better without it.
You gave examples where There Is More Than One Way To Do it (which was a Perl slogan, modern programming languages prefer to set one idiomatic way to write the code). But I don't think that you gave an example where two functions A() and B() are exported, but also their composition func C() {return A(B())}

I am not a huge fan of premature syntactic sugar, but avoiding it is not a sacred law, only a reminder. I believe that your PR would become better without it.

How do you define "premature"?
Kubevirt is not that new :) and the evidence from looking at the code shows that pretty much every time that we try to fetch a compute container we do so for the virt-launcher pod, so we have to fetch the pod as well. What stronger evidence do we need in order to agree this is a very very common use case that deserves a syntactic sugar?
BTW, I remind you that this API is internal for our testing. IOW we don't have any guarantees regarding it and we can "break compatibility" at any time with ease. It's not an external API that we need to be super cautios with.

You gave examples where There Is More Than One Way To Do it (which was a Perl slogan, modern programming languages prefer to set one idiomatic way to write the code).

IMHO rules of thumb are a good thing as long as you don't take them too seriously. Essentially almost every rule has its corner cases and every approach takes a trade-off.
Saying "there should be a single way to do it" is a rule of thumb. It has its pros and cons, and it depends on the exact case we're dealing with. Whenever such a rule of thumb is expected to be applied at all cases I get uncomfortable. As I showed above (and below) even with Go this rule is being broken many many times, and for good reasons.
BTW, Python is one of the most popular languages today, and usually there are tons of ways to do the same thing.
It's not good nor bad, it's an approach which has pros and cons and takes a stance in the trade-off. It's a tool, and like any tool, it's good for some things and bad for others.

But I don't think that you gave an example where two functions A() and B() are exported, but also their composition func C() {return A(B())}

Another example from the standard library: under the strings package, you have the TrimLeft() and TrimRight(), but you also have the Trim() function which is a combination of both.
There are many many examples of this approach.

How do you define "premature"?

I don't. But I have an example: export a function B() and immediately export its composition, with no soak time. KubeVirt is mature, but libpod is not.
There are always exception, but following the rules is more important. One of them is to postpone new APIs. Think twice before adding another lever.
Anyway, this is not a huge deal. libpod is not a public library, and your PR already makes the world a little bit better.

/approve

Thanks!
/lgtm

/hold

RunCommandOnVmiPod() caused tests to fail for some reason.
I've reverted it to use the previous logic and we'll deal with it in a separate PR.

Different failures (not testid 4114).
/test pull-kubevirt-e2e-k8s-1.29-sig-compute-migrations

/unhold

/lgtm


⚠ Bofrost.lu has degraded performance

In 5187114, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1570 ms

Resolved: Bofrost.lu performance has improved in 69e1a87 after 14 minutes.


not wanting to use angular-cli

what if i don't want to use angular-cli to run angularfire2 is it possible?

@alizzen have you looked at this
https://github.com/AngularClass/angular2-webpack-starter

This should be relatively easy to do by following the Angular quick start.

i tried using quikstart and it didnt work

@lbecker34

@alizzen This is possible and I recommend looking at https://github.com/mgechev/angular2-seed.
We did not document it as Angular 2's setup changed dramatically through beta and RC. If you'd like to send in a PR detailing how to setup without, we'd gladly accept!


chore: update logform to @2.3.0

Thank you for jumping in here – would be great to discussed further maintenance support on logform, winston, and related core libraries if you have cycles for it 💯 👍 🥇

Thank you @yurijmikhalevich !! 🎉

@indexzero @DABH, thanks!
@indexzero, I'll be keeping an eye on the core libraries, but I don't have the bandwidth to actively maintain them at the moment.

any chance of seeing this PR in a winston release on np? As for now there is an issue with nextjs & swc compiler, so having to use   "resolutions": {     "logform": "^2.3",     "**/logform": "^2.3"   }, in package.json to override it

@yurijmikhalevich can you update the package.json too? when installing from the repo using yarn i'm still getting logform 2.2.x and having to use resolutions as @ckjoris is above

@joshbalfour @yurijmikhalevich Should we be waiting on updating package.json before the next release?

While updating package.json should not have been necessary due to use of the caret (it seems like npm update --depth 9999 should update the version being used), I have added a commit to update package.json which does this.


Why can't I paste the contents of the clipboard into this area?

I need to paste the code I wrote in the code editor into this area. Can the author add this function?

Try https://github.com/vvmgev/Inssman/discussions/55#discussioncomment-9973210

Try #55 (comment) 尝试 #55 （评论）
I'm sure I didn't paste rich text format in this text box area.
so, I feel very confused.

I'm sure I didn't paste rich text format in this text box area.

Pasting in modern browsers is done in rich text format by default, regardless of the original formatting in the clipboard.

instead of using ctrl + v, use ctrl + shift + v


Fix the old url parsing in import wordpress

The old url is retrieved from the wordpress xml file in the wrong way. The correct key that contains the url is entry['link']. I managed to use the old entry.id as fallback in case the xml file is old or somehow is not present.
Using entry['link'] all the redirects are correctly created.
I tried to find some specs about the Wordpress xml file, but nothing is available: see here on stackoverflow
I found some specs reversing the xml file here and based on that article the definition of the link is: the URL of the site as determined by WordPress. or in other words the link compiled based on the permalink rules set in the wordpress installation.

Thanks a lot


Fix realised Maven module metadata not adding variants from rules

Rebasing #21213 onto current master and fixing issues.
If there were no variants in the component metadata and no variants were added by the derivation strategy, RealisedMavenModuleResolveMetadata would ignore additional variants produced by component metadata rules. This was inconsistent with the behavior of the default (lazy) implementation.
Fix the inconsistency by adding the variants produced by the component metadata rules during realization even if the variant's own variants are empty.
Fixes #20145
Supersedes #21213

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge

The merge queue build has started. Click here to see all failures if any.


after yarn starts

Hi, i start yarn in my servers, and when i use jps command, the output shows me resourcemanager and nodemanager is running, now i have one question, how to test hadoop works true with glusterfs?
please help me.
thanks for your reply.

simple. just do hadoop fs -ls / and you should see all the directories in gluster's root.

thanks for your reply, @jayunit100 when i use above command ( hadoop fs -ls / ) i get this output:
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: Initializing gluster volume..
15/06/10 11:31:11 INFO glusterfs.GlusterFileSystem: Configuring GlusterFS
 15/06/10 11:31:11 INFO glusterfs.GlusterFileSystem: Initializing GlusterFS,  CRC disabled.
 15/06/10 11:31:11 INFO glusterfs.GlusterFileSystem: GIT INFO={git.commit.id.abbrev=f0fee73<EMAIL_ADDRESS>git.commit.message.full=Merge pull request #122 from childsb/getfattrparse

Refactor and cleanup the BlockLocation parsing code, git.commit.id=f0fee73c336ac19461d5b5bb91a77e05cff73361, git.commit.message.short=Merge pull request #122 from childsb/getfattrparse, git.commit.user.name=bradley childs, git.build.user.name=Unknown, git.commit.id.describe=GA-12-gf0fee73, git.build.user.email=Unknown, git.branch=master, git.commit.time=31.03.2015 @ 00:36:46 IRDT, git.build.time=09.06.2015 @ 12:00:02 IRDT}
15/06/10 11:31:11 INFO glusterfs.GlusterFileSystem: GIT_TAG=GA
15/06/10 11:31:11 INFO glusterfs.GlusterFileSystem: Configuring GlusterFS
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: Initializing gluster volume..
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: Gluster volume: hadoop at : /mnt/hadoop
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: Working directory is : /
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: Write buffer size : 131072
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: Default block size : 67108864
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: Directory list order : fs ordering
15/06/10 11:31:11 INFO glusterfs.GlusterVolume: File timestamp lease significant digits removed : 0
-ls: Fatal internal error

 java.lang.RuntimeException: Error undefined volume:hadoop1 in path: glusterfs://hadoop1/
at org.apache.hadoop.fs.glusterfs.GlusterVolume.pathToFile(GlusterVolume.java:242)
at org.apache.hadoop.fs.glusterfs.GlusterVolume.getFileStatus(GlusterVolume.java:376)
at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:421)
at org.apache.hadoop.fs.Globber.getFileStatus(Globber.java:57)
at org.apache.hadoop.fs.Globber.glob(Globber.java:265)
at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1655)
at org.apache.hadoop.fs.shell.PathData.expandAsGlob(PathData.java:326)
at org.apache.hadoop.fs.shell.Command.expandArgument(Command.java:235)
at org.apache.hadoop.fs.shell.Command.expandArguments(Command.java:218)
at org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:201)
at org.apache.hadoop.fs.shell.Command.run(Command.java:165)
at org.apache.hadoop.fs.FsShell.run(FsShell.java:287)
it is so important for me to do that, please help me to understand where is my configuration is not correct, i think my core-site.xml's configuration is correct.

thanks, my problem is solved.

sorry, what is the best tool for testing hadoop's performance?

how to solve this problem,tanks

hi @mahsa-frj .  There are terasort, teragen, and so on.   Those are available as part of your hadoop distribution in a jar file, and  are also curated in apache hadoop upstream.
If you want a "full" testing solution for your hadoop cluster, you can use ASF BigTop's smoke test libraries, which run these tests (scale is configurable).  Additionally the bigtop distribution has a realistic realistic test of the entire hadoop ecosystem (mapreduce->pig->mahout), you can try - its called  BigPetStore-Mapreduce application which isalso curated in BigTop : https://github.com/apache/bigtop/tree/master/bigtop-bigpetstore/bigpetstore-mapreduce.

15/08/31 06:34:42 INFO mapreduce.Job: The url to track the job: http://cn0:8088/proxy/application_1441002854313_0001/
15/08/31 06:34:42 INFO mapreduce.Job: Running job: job_1441002854313_0001
15/08/31 06:34:52 INFO mapreduce.Job: Job job_1441002854313_0001 running in uber mode : false
15/08/31 06:34:52 INFO mapreduce.Job:  map 0% reduce 0%
15/08/31 06:34:52 INFO mapreduce.Job: Job job_1441002854313_0001 failed with state FAILED due to: Application application_1441002854313_0001 failed 2 times due to AM Container for appattempt_1441002854313_0001_000002 exited with  exitCode: -1000
For more detailed output, check application tracking page:http://cn0:8088/proxy/application_1441002854313_0001/Then, click on links to logs of each attempt.
Diagnostics: File glusterfs:/user/hadoop/.staging/job_1441002854313_0001/job.splitmetainfo does not exist.
java.io.FileNotFoundException: File glusterfs:/user/hadoop/.staging/job_1441002854313_0001/job.splitmetainfo does not exist.
at org.apache.hadoop.fs.glusterfs.GlusterVolume.getFileStatus(GlusterVolume.java:368)
at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:409)
at org.apache.hadoop.yarn.util.FSDownload.copy(FSDownload.java:251)
at org.apache.hadoop.yarn.util.FSDownload.access$000(FSDownload.java:61)
at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:359)
at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:357)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:356)
at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:60)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Failing this attempt. Failing the application.
15/08/31 06:34:52 INFO mapreduce.Job: Counters: 0
why this happen? thanks.

Is this issue solved?


iPhone 15's 24 MP (res 4284 X 5712) image resolution is making the image black after cropping.

We need to accommodate iPhone 15's 24 MP (res 4284 X 5712) image resolution as well, to make it work properly, kindly make the updates for the same.

This library doesn’t have code to crop the image just a simple example. You can look online how to resize canvas images in a way that suits you (or do it on a server)


SchemaTransformProviderTranslation

This PR adds support for upgrading any generic SchemaTransform without upgrading the pipeline.
This includes breaking changes to the SchemaTransform class, which now has a protected constructor (ie. subclasses have to manually call super()). Subclasses also have to specify a parameterized type corresponding to the configuration object used to build it (this should be fine since we do it for the SchemaTransformProvider anyways).
This PR makes the necessary updates to existing SchemaTransform implementations.

Moving this over to #31558


how to use webClient?

You have no docs for the node webClient part at all except one tiny example

I would like to create a channel called guest-user123
post to that channel as guest-user123
listen to messages on that channel

and how do i get the channel id there are no node.js examples of any of this stuff
rtm.sendMessage('this is a test message', 'C0CHZA86Q', function messageSent(){

the main docs are flim-flam only theory and waffle and are just sort of like an attempt to describe red and green to a blind guy... example please

tiny mention
https://github.com/slackhq/node-slack-client/blob/master/examples/example-web-client.js

First and foremost, there technically are docs (see #144). All of the source for the project is documented via jsdoc. The jsdocs aren't exported, though. That means if you want documentation for something specific to this node module, all you have to do is a little looking around in the code that this repository provides.
However, there are another set of docs: https://api.slack.com/. More specifically, you're looking for https://api.slack.com/methods. Any method listed there should be a function of a web client object. As for the arguments you need to pass to each function, you'll have to reference the corresponding faucet file, though most are fairly straightforward.
I hate doing this, but for your sake I believe an example would be the best way to explain how to use the web client. Do note that none of this is tested. I simply wrote it up in an effort to explain how you should go about trying to use the module and api. Furthermore, it's been some time since I've used this module. There may be better ways of doing what you want than what I'm say.

Creating a channel
So, assuming you already have your web client created (let's call it webClient), we want to create a channel. Looking at http://api.slack.com/methods, it's obvious that we want to use the channels.create method. So, let's do that:
// Create a channel named "guest-user123"
webClient.channels.create('guest-user123', function(err, channelResponse) {
    // TODO check for errors
    // Channel was created!
});

For the sake of example, I did skip checking err and checking channelResponse.ok; if ok is false then there'll be a corresponding error field to the response object. Nevertheless, just know that you should always check for errors and handle them if they're thrown.
Posting to the channel
So, we created the channel. Checking back to the Response section of channels.create we see that it gives us a plethora of information, ranging from the channel id, to the name, it's creator id, and various other data.
We want to post to the channel, so we'll need to use chat.postMessage. We'll need the channel id (channelResponse.channel.id) and some text to post. If we want to post as the user "guest-user123" then we'll need to provide username: "guest-user123" as an option.
Picking up where we left off last time:
// Channel was created!
webClient.chat.postMessage(
    response.channel.id,
    'The Law of Dominance of Knives is quite interesting to think about',
    { username: 'guest-user123' },
    function(err, messageResponse) {
        // TODO check for errors
    }
);

As for listening for messages on the new channel, I believe the RTM client should do that automatically.

The lack of knowledge about how to use this node module, however, does seem to be something I'd consider an issue (good thing there's already one for that: #144). Maybe using the GitHub wiki? http://readthedocs.org? In any case, I think some docs (or more/better examples) specific to this project would be a good idea.

That's an amazing write-up - thanks so much @Everesty
I've added a more specific issue to track documentation - https://github.com/slackhq/node-slack-client/issues/149 - which tracks getting useful JSDoc docs generated from the code. The existing output isn't especially helpful and is less useful than just reading the code itself.

yeah thanks dude!!


Update cov to not to be when secrets are able to be accessed.

The issue is caused by secrets not able to be accessed and so token cannot be get.
https://github.com/firebase/firebase-ios-sdk/actions/runs/723832228


allocator: Fix panic when allocations happen at init time

a.netCtx is initialized too late, so if allocations happen as part of
doNetworkInit, a nil pointer dereference will cause a panic.
Initialize a.netCtx earlier and use a.netCtx directly in member
functions instead of passing the network context separately, so there is
no confusion about which to use.
Also change allocator.go to have separate entries in the waitgroup for
initialization and actually running the allocator, and defer Done for
both. This should prevent a panic like this from leading to a deadlock,
since the deferred Done will be reached.
See docker/docker#25432
cc @mrjana @LK4D4 @tonistiigi

I think we should also make sure this scenario is covered in unit tests. I'm not very familiar with the tests for this part of the code, so it would be great if someone could point me in the right direction or submit a separate PR for test coverage.

LGTM

Current coverage is 56.79% (diff: 100%)

Merging #1651 into master will decrease coverage by 0.01%

@@             master      #1651   diff @@
==========================================
  Files            90         90
  Lines         14539      14540     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           8260       8258     -2
- Misses         5190       5194     +4
+ Partials       1089       1088     -1

Powered by Codecov. Last update 0424477...dab9090

@mrjana: Updated to add a closure that clears a.netCtx in the error case, and removed networkContext parameters from the functions so there's no confusion over whether to use the argument or a.netCtx.

@aaronlehmann Adding a test case to cover this scenario would be nice. I will try to add one.

@aaronlehmann @mrjana Please add a test case in a separate PR


finish migrating the translations from release-2.0 to release-2.2

finish migrating the translations from release-2.0 to release-2.2

Squash？


[Crash] Krypton

According to your testing, does the issue occur with ONLY Immersive Portals mod?
No
Forge Version
40.1.73
ImmersivePortals Version
1.4.9, 1.4.10 (both on mc 1.18.2)
Latest Log
https://paste.ee/p/0rXDa
Crash Report (if applicable)
https://paste.ee/p/OXTCi
Steps to Reproduce

Start a world with the usual unreasonable quantity of mods
Add immersive portals once a forge port for 1.18.2 is released
Crash on entering the world

What You Expected
Loading into the world and being able to make non-euclidean portals
What Happened Instead
Crash on world load with an exception in the server tick loop.
Excerpt:
[11:58:54] [Server thread/ERROR] [minecraft/MinecraftServer]: Uncaught exception in server thread
java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.m_129785_()" because the return value of "qouteall.q_misc_util.MiscHelper.getServer()" is null
	at qouteall.imm_ptl.core.portal.global_portals.GlobalPortalStorage.lambda$init$2(GlobalPortalStorage.java:65) ~[immersive-portals-1.4.10-mc1.18.2-forge.jar%23200!/:1.4.10] {re:classloading,re:mixin}
	at qouteall.q_misc_util.my_util.Signal.lambda$emit$0(Signal.java:18) ~[immersive-portals-1.4.10-mc1.18.2-forge.jar%23200!/:1.4.10] {re:mixin,re:classloading}
	at java.util.ArrayList.forEach(Unknown Source) ~[?:?] {re:mixin}
	at qouteall.q_misc_util.my_util.Signal.emit(Signal.java:18) ~[immersive-portals-1.4.10-mc1.18.2-forge.jar%23200!/:1.4.10] {re:mixin,re:classloading}
	at net.minecraft.server.MinecraftServer.handler$bep000$onServerClose(MinecraftServer.java:4462) ~[client-1.18.2-20220404.173914-srg.jar%23351!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:731) ~[client-1.18.2-20220404.173914-srg.jar%23351!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%23351!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at java.lang.Thread.run(Unknown Source) [?:?] {re:mixin}

Additional Details
It's clearly an incompatibility, I just don't know what with so I can't open with them about it either. My guess would be Starlight and the major performance mods (Rubidium etc) or potentially mods altering chunk saving behavior like smooth chunks.
Please Read and Confirm The Following

[X] I have confirmed this bug can be replicated without the use of Optifine.
[X] I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
[X] I have confirmed this does not happen on the fabric version (If it does please report to here instead).
[X] I have confirmed this issue is unique and has not been reported already.

Krypton is changing the network Protocol, that's a problem. If you don't need it, you can try dropping it. Otherwise you need to wait till I add compatibility.

This exact file. I got to easter egging Krypton literally right as you were updating this, if it didn't take a solid 10 minutes to load minecraft and save debugging would be so much less painful.
I could live without krypton unfortunately it looks like I also can't use Sodium (Rubidium on forge), Twilight Forest, or Create.

Rubidium should work, create is... Special. TF might deadlock a few chunks...

AbdElAziz333/Pluto#12 will resolve this once merged. Pluto is an alternative fork of Krypton ported to Forge, it's done by a mod author who I personally have had more experience with and trust more in porting. That's just my personal opinion and experience though. These mods both change the games code a lot though so your mileage in using both may very.

any news on this issue? just updated to pluto-mc1.18.2-0.0.6 which was supposed to fix this but still crashing. I saw up above that you were saying Rubidium should be fine.
crash-2023-04-02_11.50.03-client.txt

https://github.com/AbdElAziz333/Pluto/issues/23


Package 'gpg' has no installation candidate ?

ubuntu 16.04.
root@ABCD:~# apt update
Hit:1 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@ABCD:~# bash <(curl -sL https://raw.githubusercontent.com/phlinhng/v2ray-tcp-tls-web/master/install.sh) && v2script
Hit:1 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists...
E: Package 'gpg' has no installation candidate
/dev/fd/63: line 65: jq: command not found

Thanks for reporting. Seem like installing gpg may cause the whole apt-get install process to fail under some circumstance. I've removed the requirement of gpg since it's not necessary though. Please reboot and reinstall the script.

After rebooting, everything is perfect.
Thanks for your help.
~cheers
----- Original Message -----
From: phlinhng<EMAIL_ADDRESS>To: phlinhng/v2ray-tcp-tls-web<EMAIL_ADDRESS>Cc: joshatt<EMAIL_ADDRESS> Author<EMAIL_ADDRESS>Date: Fri, 12 Jun 2020 06:19:00 -0700
Subject: Re: [phlinhng/v2ray-tcp-tls-web]  Package 'gpg' has no
installation candidate ? (#14)

Thanks for reporting. Seem like installing gpg may cause the whole
apt-get install process to fail under some circumstance. I've removed
the requirement of gpg since it's not necessary though. Please reboot
and reinstall the script.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:

https://github.com/phlinhng/v2ray-tcp-tls-web/issues/14#issuecomment-643266143


Updated the Tomcat Cargo plugin to use V9

updated to latest version and updated the Tomcat installation to Tomcat
V9

This change has already been incorporated from my pull request


Double-gate rustc on Actions and Azure

r? @Mark-Simulacrum

So simple!
r=me when ready (I guess we should wait for CI at least)


Feature 942 update rails 6

Giving it a shot.
I had to make one code change for the upgrade - because before_save doesn't allow :on , I'm using prepend when sanitising twitterhandle, first- and lastname during profile update. Tested this manually.
I also got tons of deprecation warnings that will apply to 6.1. They are related to:

test syntax (tests are passing, so this is covered)
Active Records usage of update_attributes (deprecated), using preferred update. Seems like this is well covered by tests.
ActsAsTaggable scopes, tbh I wasn't entirely sure how to verify those - please give it a try!

Activerecord update is giving issues, gonna try a more iterative approach.


Generating unnecessary tags for nested inline style

This happens given the following input:

aaabbbaaa

The excepted output is

aaabbbaaa

Actual output:

aaabbbaaa

@zhyupe : the algorithm parses html not as tree / nested structure but rather as flat structure and it results in flat inline style tags. I do not plan to change that, I will have to come  up with new algo for tree traversal for that 😞

@jpuri any update on this?


Add community meeting information

https://goo.gl/5Cergb
Signed-off-by: Chris Aniszczyk<EMAIL_ADDRESS>

it's 9am PT
On Mon, Oct 9, 2017 at 11:22 AM, Greg Greenway<EMAIL_ADDRESS>wrote:

@ggreenway commented on this pull request.
In README.md
https://github.com/envoyproxy/envoy/pull/1831#discussion_r143516043:

@@ -42,6 +42,12 @@ to find out more about the origin story and design philosophy of Envoy.
Please see this email thread
for information on email list usage.

+## Community Meeting
+
+The Envoy team meets every other Tuesday at 8am PT. The public google calendar is here: https://goo.gl/PkDijT
8am or 9am? When viewing the public calendar, it says 11am but doesn't
specify the timezone. When I copy it to my calendar, it said 9am PT.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/pull/1831#pullrequestreview-68038644,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5IcK5CIYN-dy4tCWiG8H-8ET_JwhGks5sqkgtgaJpZM4Pyiw2
.

--
Cheers,
Chris Aniszczyk
http://aniszczyk.org
+1<PHONE_NUMBER>

@caniszczyk you didn't DCO your fixup patch :D

@htuch fixed le sigh :)


How to change style

Hi.
How could change ToolbarPlugin items or Editor style?
In my code FontFamilyDropdown and FontSizeDropdown got cropped how to solve it? and is it possible to arrange toolbar items depends on screen size?
Thanks :)

I'm sure this isn't the best solution and it feels wrong but it works =>
.toolbar select.toolbar-item { padding: 0 !important; }