Rule Proposal: Event Map - data-selector-only

Limit selectors in event-maps to data-attributes.
Could also have an option to limit to classes with the js- prefix.
Valid

// data-attributes only
Template.x.events({
  'click [data-action="submit"]': function () {}
})
```

````js

// "js-" prefix
Template.x.events({
  'click .js-submit': function () {}
})
```

Invalid

````js
Template.x.events({
  'click .submit-it': function () {},
  'click #button': function () {},
  'submit form': function () {},
})
```

Further Reading:

- https://www.codementor.io/tips/7473712871/a-better-way-to-attach-event-listeners-in-meteor

Since the Meteor Guide suggests using classes with a js- prefix, we'll go with that instead.


fix(wallet): adds utxo selection to manual spend on wallet interface

Description
Allow UTXO selection on manual spend in Wallet interface.

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Does this PR fix an open issue?

[X] Yes
[ ] No

Fixes #54
Follow-up to https://github.com/unchained-capital/caravan/pull/221 - adds in the necessary logic to handle utxo selection across multiple addresses

Not sure how we want to handle since this isn't really blocking, but I found a small bug.
To reproduce:

author a transaction. in my example I have one that's a partial spend from address and a full spend
Go to send
Go back to edit
Notice the select boxes for the address are no longer selected

What could be blocking though is that I selected only 1/2 of the UTXOs from an address however when going back it looks like both are selected. If this is the case and can be confirmed, I'd say this is blocking since we don't want someone accidentally spending all the UTXOs when they only meant to spend part.

I updated things to make sure that it at least shows that the address is now selected (full checkbox, not indeterminate or missing) when you navigate away and/or click edit transaction.
It will require more effort given the current design to actually save which inputs were selected. It would be easier with a larger refactor of how the application is structured.

Don't know if this needs to be a blocker, but this was a weird little bug. If there's only one UTXO in an address, selecting it in the utxo selector doesn't work:
https://user-images.githubusercontent.com/4344978/127078598-f1b7d0e5-9b92-4d59-afef-47ddbfb67fda.mp4

Tested happy path and the reset of the utxos if going back to edit and it all seems to work other than the bug identified above. If that is easily fixable, then it'd be good if we can get that in (maybe just disabling that view if only one utxo as a quick fix? 🤷♂ ). Otherwise it LGTM!


Add again logging_silent benchmark

Revert partially commit b22d38d0f76ed21152e146fec3fa65f76da1372b.

I fixed the two commented code. Does it look better?

Looks good to me now!

Ok, PR merged. Welcome back microbenchmarks ;-)


Adding getting started on centurylink cloud

Upload the first versions of clc.md and adding a reference to this page
from the getting started index.md.
This PR is in response to a request from @bgrant0607 in PR https://github.com/kubernetes/kubernetes/pull/22031

Is there anything I need or can do to help this along? (happy to help where I can)

Sorry, just swamped.
@johndmulhausen Please review for formatting, etc. I'm inclined to get this in quickly and fix any technical issues in followup PRs.
cc @mikedanese

Will review asap; marking as Tech Review LGTM per @bgrant0607's preferences

Sorry for all the comments but there are many conventions that must be observed. The contribution is much appreciated!

Thanks for the review! I'll take a look now.
For future reference, are the conventions listed somewhere so that we can ensure future submissions are inline with the desired format?
Thanks
Chris

Okay. I believe I made all the required changes. Please let me know if there is anything else I need to do in order to move this forward.
Thanks
chris

Thanks for making the fixes. We're going to work on automating convention enforcement as much as possible.

Cc @pwittrock @janetkuo

Thanks for addressing all the comments, and sorry for the delay.  Merging now.

No problem and thanks.
On Thu, Apr 14, 2016 at 2:43 PM, johndmulhausen<EMAIL_ADDRESS>wrote:

Merged #126 https://github.com/kubernetes/kubernetes.github.io/pull/126.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/pull/126#event-628048330


Would it make sense to create missing directory-markers in getinfo?

Im wondering: im creating files on the bucket from another application which doesnt create markers, so i have to write some additional code somewhere to handle this. But i think if i would do a small "does the file exists but the markers along the path are missing? if so, create the markers" snippet somewhere on getinfo under the block
if check_parent_dir:
            [...]
            if parent_dir != "/" and not self._get_blob(parent_dir_key):
                raise errors.ResourceNotFound(path)

would fix this problem. Is there any reason why this is a bad idea?

I think we could make this work, although I am not sure it's that easy.
First of all, we would definitely need to make this an option in the constructor as we should not randomly create blobs in some user's bucket without their explicit consent if they only perform e.g. a list operation.
Second, we would need to check if this has any major performance implications.
Lastly, I'm not sure about using getinfo for this. It's a pretty implicit assumption that it is called every time before we expect a marker to exist, I would need to look into this. Unfortunately, I'll probably not find the time this year but you can feel free to create a PR. We would also need some more tests for this.

Hm, i just realized that i can simply use ?strict=False to solve the problem. Guess thats way more unobtrusive :)


Update LAB_AK_02_Lab1_Ex2_Mitigate_Attacks.md

tutorials removed when tested today.
Replace issue name M00-LAB00:QUICK_DESCRIPTION, for example "M01-LAB01: My new issue" (or same name as linked Issue)
Related Issue
Link related Github Issue 🢂 Fixes # . (Include issue number after #)
Checklist
Mark completed with "x" between brackets, "[x]", or checking the box once the PR is created:

[ x] Has related GitHub Issue 💥 Create Issue 📝
[x ] Tested it
[x ] Read the PR collaboration guide 👓 Collaboration Guide 📝

Changes proposed in this pull request:
-Updated steps to lets lab takers know of the possible unavailability of Tutorials

This is fixed added new attacks.


Improve compliance with Rack spec

See also #2.
Still left to do:

[ ] SERVER_PORT
[ ] rack.url_scheme
[ ] Make InputStream buffered, implement #gets and #read
[ ] rack.session
[ ] rack.logger
[ ] Check correct behaviour with both http1 and http2 (actually I think the two adapters have different standards of capitalization of HTTP headers. They should be homogenized.)
[ ] Add some tests:

[ ] test basic functionality under both http1 and http2
[ ] test downloads
[ ] test uploads
[ ] test form submissions

Note: we'll leave rack.multipart.XXX for a later time, the same for rack.hijack.

Issue moved to https://github.com/digital-fabric/qeweney/issues/1


verify function doesn't work correctly, plz also add a test case for that.

Sign a message with sign function and try to verify it, verification function will return false always even if hash and signature passed is correct.

How are you calling the sign function?

Here is code snippet which can reproduce the issue:-
     import {  pedersen, getKeyPair, sign } from "starknet";

      const signingKeyPair = getKeyPair(ethereumPrivKey);
     const somePedersenMsgHash =  pedersen([
      "58f580910a6ca59b28927c08fe6c43e2e303ca384badc365795fc645d479d45",
      "78734f65a067be9bdb39de18434d71e79f7b6466a4b66bbd979ab9e7515fe0b",
    ]);
      const signature = sign(signingKeyPair, somePedersenMsgHash);

     // in real use case i will keypair derived from public key while verification
     const isVerified = verify(signingKeyPair, somePedersenMsgHash, signature );

isVerified is returning false, it should return true.
I investigated this issue, i believe issue is here:
https://github.com/seanjameshan/starknet.js/blob/f2b26febaf52a1aebe88159480800ee2899ff1d5/src/ellipticalCurve.ts#L93
fixMessage function is not being called on msgHash in verification function as it is being called on sign function, so verify is not working @seanjameshan

Thanks for the fix!


Question about beta-D-Mannosylphosphodecaprenol ?

Dear ChEBI curators,
Is beta-D-Mannosylphosphodecaprenol exist in Chebi?
ref: https://www.genome.jp/dbget-bin/www_bget?C04150
Regards

I have now created an entry for beta-D-Mannosylphosphodecaprenol (CHEBI:16402). The entry should be visible on the ChEBI website by tomorrow.


how to send hex code?

Hi,i got a trouble in using this package.
my sonor want me send hex code to it , but actually this package send ASCII code to it ,such as i send 0x00, sensor get 0x30(ASCII code of 0)
how can i send hex to it ?
Thanks!

@geekfuns this package only binary data (vector of bytes)](https://github.com/continental/udp_com/blob/fe08f440726e5853391fcd90524336edb5dc34d9/src/udp_com.cpp#L112) so as long as your vectory of bytes are in the proper form this package should send it just fine.
there might be differences in endian-ness between your sending platform and your receiving platform, so maybe check if you need to swap endian-ness before sending?

Thanks！I will check it!
Evan Flynn @.***> 于2021年10月5日周二 上午5:40写道：

@geekfuns https://github.com/geekfuns this package only binary data
(vector of bytes)](
https://github.com/continental/udp_com/blob/fe08f440726e5853391fcd90524336edb5dc34d9/src/udp_com.cpp#L112)
so as long as your vectory of bytes are in the proper form this package
should send it just fine.
there might be differences in endian-ness between your sending platform
and your receiving platform, so maybe check if you need to swap endian-ness
before sending?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/continental/udp_com/issues/104#issuecomment-933877522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHST5NTSENQ5SC5XRQHCPFDUFINNZANCNFSM5FGCZEUA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Update geo-partitioning tutorial

To use all 19.2 features and to combine the geo-partitioned replicas and duplicate indexes patterns.
Also possible offer a local cluster version of the tutorial via cockroach demo movr.

Fix https://github.com/cockroachdb/docs/issues/4907 as part of this.


Fix/anat fast track derivative

Closes #32
Closes #33
Closes #34
Solution: ignore anatomical metrics if anat/ is not present

Codecov Report
Attention: Patch coverage is 0% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 10.85%. Comparing base (c7b951f) to head (adf5437).

Additional details and impacted files

@@             Coverage Diff             @@
##             main      #35       +/-   ##
===========================================
- Coverage   94.46%   10.85%   -83.62%
===========================================
  Files           5        8        +3
  Lines         235      350      +115
===========================================
- Hits          222       38      -184
- Misses         13      312      +299

Files
Coverage Δ

giga_auto_qc/workflow.py
8.10% <0.00%> (-77.61%)
:arrow_down:

giga_auto_qc/tests/test_assessments.py
7.27% <0.00%> (ø)

giga_auto_qc/assessments.py
5.33% <0.00%> (-90.45%)
:arrow_down:

... and 4 files with indirect coverage changes

Request from @clarkenj to be addressed: when supplying anatomical only directory, calculate the anatomical dice


fix features folder

It's currently a mess at the moment. If someone can fix it, that'd be great.

all done thank me later


Add support for file uploads in communication

Use privatemedia view for uploaded files and uses uuid for file links so they are not auto-discoverable
Slightly update the typography for the rendered comment and section itself to match with the rest of the type system and better differenciate two commment box.
the file uploads are not editable while editing a comment (same behaviour as slack)
Update the styling of "Upload", make it secondary button instead of primary

Screenshots
Without Visibility option

With Visibility option

Compose view

closes: https://github.com/HyphaApp/hypha/issues/3643

The current/old implementation for editing the comment use vanilla js to construct the edit box and send the updated comment to the server via an API, this is good candidate to be replaced with htmx. I'll try attempt that in a PR on top of it or we can create a new issue.


Op 13183 parsing error

We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.
https://devopsmx.atlassian.net/browse/OP-13183

This PR  triggered this build in this execution, please wait for it  and child pipelines to succeed before merging:  https://isd.prod.opsmx.net/deck/#/applications/gcp-gitprtrigger/executions/details/01FZFJ35T39ZGAKPKP7H3XC539

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://isd.prod.opsmx.net/deck/#/applications/gcp-gitprtrigger/executions/details/01FZFJ3R2CR8BT88WMGQNDB3XE

SUCCESSFUL RunTestJar RESULT: Total tests run: 196, Failures: 1, Skips: 0 Reviewers ,  this PR did not cause the failures in  https://jenkins.opsmx.net:8181/jenkins/job/Dev-run-tests-on-gitpr-parallel/ws/emailable-report-2379.html

RunTestJar RESULT: Total tests run: 437, Failures: 17, Skips: 0 Developers , please check that the commits to master branch did not cause the failures in  http://jenkins.opsmx.net:8181/jenkins/job/Dev-run-tests-on-staging-master/ws/emailable-report-485.html


0.10.0 is here

newer versions changed the config format so I have no plans upgrading until it breaks


Latest commit 5e09074d587114ef4d771fe65c911b67735d4fcb by @17Halbe br…

Access control features are nice, but they break the default setup.. These files are required for startup. Were removed in previous commit 5e09074d587114ef4d771fe65c911b67735d4fcb

Those files shouldn‘t be neccessary anymore. And be fully optional.
It‘s being tested if they exist during mailserver startup and if so, the required entries in main.cf are made.
Do you still experience startup problems?

Should actually work as expected, otherwise the tests wouldn‘t have been past successfully.

Try sending an email, you'll get a sender adress rejected error. Startup works fine because those files are only checked at receive or send events.

Thanks for the report. I might have overlooked something. It’s working fine here...
So merge please. It won‘t hurt anyway.
...von unnerwegs...

Am 19.02.2018 um 18:26 schrieb srslynow<EMAIL_ADDRESS>Try sending an email, you'll get a sender adress rejected error. Startup works fine because those files are only checked at receive or send events.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hmm. Not here.. I‘ll check again. This isn‘t as elegant as I intended it to be, ;) but it‘s a definitly working workaround.
And I‘m still quite a bit puzzled why this isn‘t working.

Ah, got the same problem... BUT the docker image has not been updated yet. It doesn't reflect the changes I implemented.
Can you have a look if you got a result of the following command:
docker exec mail cat /usr/local/bin/start-mailserver.sh |grep access_control
replace mail of course with your container name..

@johansmitsnl Are you also in charge of the docker builds? Can you get them running?

@17Halbe yes I can restart them.

@17Halbe Seems you were right about the update, docker exec mail cat /usr/local/bin/start-mailserver.sh |grep access_control doesn't return anything. The errors were definitely pointing towards non-existant /tmp/docker-mailserver/postfix-receive-access.cf and /tmp/docker-mailserver/postfix-send-access.cf files though.

Yes, and you are still right, since the problem's not solved yet! Your PR wouldn't have helped though either! ;)
Really appreciated your PR, otherwise we wouldn't have noticed docker isn't building the image anymore! :+1:

Strange, creating these files did fix the problem for me. I have the extra newlines in those files on my linux box running the mailserver. The MR was created from a Windows laptop, and I erroneously left out the required newlines there. Anyways, you're aware of the issue, thanks for the fast responses!

I guess this happened to me too when rebuilding everything this morning. So now I'm a bit worried of using v2tec/watchtower for auto-updating this project. My intention is to use docker-mailserver in 'production' (personal use).

@boaorm this is the exact setup I'm running as well, I'm going to exclude this image from watchtower today unfortunately. This is not the first time things break. I love this image and I'm really grateful to the contributors but its releases are just not stable enough for blind auto-updating.


tests: support ARM64 for tests on AWS

How to categorize this PR?

/kind enhancement
/area os
/os garden-linux
What this PR does / why we need it:
Extends the Integration/Platform tests for AWS to support ARM64 images.
Special notes for your reviewer:
Release note:

- extends the Integration/Platform tests for AWS to support ARM64 images.

/ready


Humanoid-v1 Tensor Issue

inconsistent tensor size at /tmp/luarocks_torch-scm-1-519/torch7/lib/TH/generic/THTensorCopy.c:7
stack traceback:
...athewson/torch/install/share/lua/5.1/twrl/experiment.lua:64: in function <...athewson/torch/install/share/lua/5.1/twrl/experiment.lua:61>
[C]: at 0x0b87ff30
[C]: in function '__newindex'
...ll/share/lua/5.1/twrl/agent/learningUpdate/reinforce.lua:37: in function 'learn'
...son/torch/install/share/lua/5.1/twrl/agent/baseAgent.lua:112: in function 'reward'
...athewson/torch/install/share/lua/5.1/twrl/experiment.lua:40: in function <...athewson/torch/install/share/lua/5.1/twrl/experiment.lua:16>
[C]: in function 'xpcall'
...athewson/torch/install/share/lua/5.1/twrl/experiment.lua:68: in function <...athewson/torch/install/share/lua/5.1/twrl/experiment.lua:1>
test-run.lua:69: in main chunk
[C]: in function 'dofile'
...wson/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x010b716cf0

Errors of the form:
  local allActions = torch.DoubleTensor(numSteps, 1):zero()
  for i = 1, numSteps do
     allObservations[i] = allTransitions[i].state
     allActions[i] = allTransitions[i].action
  end

Due to the shape of the actions for the environment.


Drop support for IE8

Is this a feature or code bloat at this point? Are there customers of this repo that would still need support there?

We are already asking them to come shimmed for bind and forEach.

Agree with this. It's 2016. Deprecating IE 8 in the next release.


[Meta] Shard level Indexing Back-Pressure

Is your feature request related to a problem? Please describe.
Elastic search today provides few gating mechanism to protect a node when under a duress, via the concepts of queue rejections and circuit breakers. However, queue sizes are fixed, isolated and do not effectively represent the total work required to be done. Similarly, Circuit breakers acts as a last line of defence, are mostly too late to act upon, and do not offer fairness. Some of these gaps create availability issue with the cluster, when under duress due to hardware failures, node performance degradation or traffic bursts.
Indexing Pressure today tries to address this to some extent by rejecting indexing requests based on some hard-coded limits on nodes. However, there is a need for smarter rejection mechanism at shard level, when there are too many stuck/slow indexing requests, breaching key performance thresholds (such as throughput). This can prevent the cluster from running into cascading effects of failures.
Describe the solution you'd like
With shard level indexing pressure we want to improve the current Indexing Pressure framework which performs memory accounting at node level and rejects the requests. We aim to take a step further to have rejections based on the memory accounting at shard level along with other key performance factors like throughput and last successful requests. This can be called as ShardIndexingPressure.
Key features to be covered

Granular tracking of indexing tasks performance, at every Shard level, for each Node role i.e. coordinator, primary and replica.
Smarter rejections by discarding the requests intended only for problematic index or shard, while still allowing others to continue (fairness in rejection).
Rejections thresholds governed by combination of configurable parameters (such as memory limits on node) and dynamic parameters (such as latency increase, throughput degradation).
Node level and Shard level indexing pressure statistics exposed through stats api.
Integration of Indexing pressure stats with Plugins for for metric visibility and auto-tuning in future.
Control knobs to tune to the key performance thresholds which control rejections, to address any specific requirement or issues.
Control knobs to run the feature in Shadow-Mode or Enforced-Mode. In shadow-mode only internal rejection breakdown metrics will be published while no actual rejections will be performed.

Additional context
Shard Indexing Pressure will be available in two phases ie Shadow & Enforced, via dynamic ES settings as below:
Enabled - To turn the shard indexing pressure feature turn on and off (default off initially).
Enforced - To run the feature in Shadow/Enforced mode if Enabled. In Shadow mode there will be no rejections but metrics will be published. In Enforced mode there will be actual rejection happening in the cluster.
Rejection Criteria - Three broad criteria for rejections as below:
Node Limit - Acts as the defence line if the utilisation by all the shards reaches the node limit assigned. i.e. 10% of heap. This effectively indicates a shard is unable to take in more traffic on the node.
Throughput degradation - This is to detect any hardware/software issue resulting into performance degradation. When node level occupancy is already breaching its soft-limit, and there exists a constant deterioration in the request turnaround at a shard level, additional requests are rejected until the system recovers.
Last Successful request - This is to address stuck requests or black hole scenarios. When node level occupancy is already breaching the soft-limit, and shard has multiple outstanding requests whole no request are turning around, then beyond a threshold additional requests will be actively discarded until the system recovers.
All the thresholds and key parameters will be available in for of dynamic ES settings for real time tuning.
Feature Branch: 478_indexBackPressure

Closing this issue as changes are already merged as part of #1336


Week 3 Hacks (Review Ticket)

Link to blog post about my quiz
Link to my quiz

Good work Ryan! I like your quiz, and especially like the gifs that you added. I also liked the specific details you documented on your blog about your coding experience this week.

Great Job Ryan. Your quiz is amazing. Their are many well polished scenes and a total of 5 questions. Your reflection has many thought on the problems you faced and how to improve them. You get a score of 2.8 because you meet the requirements and your quiz is above average.


QA-LSTM and cosine similarity

Thanks for the qa models. The paper you are referring to
https://arxiv.org/pdf/1511.04108.pdf
implements cosine similarity for QA and pairs. In your case, you are actual creating a sum of both question and answer vector
model.add(Merge([qenc, aenc], mode="sum"))

Does this affect the accuracy?
The paper also states that the accuracy drops on concatenating q and a pairs
Finally, we replace the cosine similarity with a MLP structure, whose input (282x2-dimension) is
the concatenation of question and answer embeddings, and the output is a single similarity score
and test the modified models by a variety of hidden layer size (100,500,1000). We observe that the
modified models not only get >10% accuracy decrease, but also converge much slower

Thanks for the qa models. I have the same confusion~

maybe the "MLP structure" is too easy.  rather than LSTM(or LSTM-attention) @rmdort

@rmdort - really sorry about the delay in responding, I must have missed your initial post, saw it when @ynuwm posted on it. To answer your question, a cosine merge basically takes 2 vectors of shape (batch_size, timesteps) and produces a single number. I was trying to build a classifier that could produce a probability distribution over 4 multiple choice answers, so I needed an MLP like thing at the end.
@ynuwm - it is possible that we can get better results by stacking more LSTMs before finally sending to a MLP output, but since I am trying to do 4 way classification, I think I will need the MLP at the end regardless.

Sorry, the shape of the vectors should be (batch_size, embedding_size) in my previous comment.


Implement 2FA to for user login

Show qr code and store user hash in db, valide code on login

Created a system to enable and disable 2fa for a user. User logs in. Goes to settings and there's a new page to enable 2fa. To enable it user has to generate an image then scan it and enter the one time password he gets. After it's enabled the user can check the password again if he wishes or disable it. If it's enabled then on the next login the user is asked to enter a one time password to login successfully.
@romilrobtsenkov @raimop


Long March have a hero at thunderluff objective not working

Closed by https://github.com/AzerothWarsLR/WarcraftLegacies/commit/868a4446e9e77e45c3f3c362c08825ccb670ad87.


Freeze in iOS

We are having an issue in iOS where the UITextViewFixedWithKludge.LayoutSubviews is called in a loop. This causes a freeze on iOS. We were not able to reproduce this in any Sample projects or the sample attached to the repo. Is there any suggestions on what might be occurring on iOS. I have the source code downloaded and removing UITextViewFixedWithKludge file entirely and reverting to using UITextView in BaseTextViewRenderer fixed the problem we are having

We ran into this issue as well. In our case, it only happened when we changed the visibility of a control on the page at runtime. Additionally, this does not seem to happen on all iOS devices/versions. We had a user with a XS Max running 15.3.1 that experienced the lock up and eventual crash. Running other simulators and devices did not reproduce this issue but a XS Max simulator running 15.2 did.
I can verify that the workaround @DanielGlick45 mentioned works. I found that replacing the Grid with a StackLayout was another valid solution (at least for us).
This project hasn't been updated in a while so I'm not sure if it's still active. If I can provide additional details, please let me know.
A simple reproduction is below.

MainPage.xaml
<ScrollView>
    <StackLayout>
        <Grid RowDefinitions="Auto,Auto,Auto" BackgroundColor="LightGray">
            <htmlLabel:HtmlLabel Grid.Row="0" Text="{Binding List}"/>
            <Button Grid.Row="1" Text="Toggle" Clicked="ToggleButton_Clicked"/>
            <Label x:Name="labelContent" Grid.Row="2" Padding="5" BackgroundColor="DarkGray" TextColor="White" Text="Conditional Content"/>
        </Grid>
    </StackLayout>
</ScrollView>

MainPage.xaml.cs
private void ToggleButton_Clicked(object sender, System.EventArgs e)
{
     labelContent.IsVisible = !labelContent.IsVisible;
}

I'm seeing this issue consistently on multiple iOS emulators. I can confirm that the behavior is that of recursive calls to the LayoutSubviews() method.  Placing breakpoints in the code I noted that this only seems to happen when the logic in the Setup() method tries the make the Bounds.Height smaller.  Thus adding code to avoid this situation removes the recursive call behavior.  For example:
        private void Setup()
        {
            TextContainerInset = UIEdgeInsets.Zero;
            TextContainer.LineFragmentPadding = 0;

            var b = Bounds;
            var h = SizeThatFits(new CGSize(
                Bounds.Size.Width,
                float.MaxValue)).Height;

            if ( h > b.Height )
            {
                Bounds = new CGRect(b.X, b.Y, b.Width, h);
            }
        }

I am far from an iOS expert but I believe what's going on here is that trying to make the UITextView smaller is forcing the layout engine to execute again, for which it makes it larger, and this then makes it smaller again. (Lather, Rinse, Repeat).  This seems to tie into the reports that changing between StackLayout and Grid seems to work around the issue. In these cases I think it has more to do with the settings of each of those containers resulting in dynamic vs more of a fixed layout based upon the settings of the particular View and other included controls.
@matteobortolazzo Can you comment on what bug was fixed by this change? I looked in the history and the commit doesn't reference any specific issue that I could reference against to help me understand what it's trying to do.
It's interesting to note that when I implement a workaround (comment out the Setup() or put in the test) the text that HtmlLabel ends up with is improperly rendered. Not sure if this is a cause or a result. This is all new territory for me so I'm going to try to find a way to make an example that always fails.

vs (raw text in Label)

To follow up here.  I've been playing around with this all day trying to figure out a bunch of layout issues when I patched the Bounds code as mentioned previously.  I'm seeing all sorts of overlap/clipping/sizing issues on iOS where HtmlLabel is in the XAML. Turns out all of those issues are coming from the Setup() method. Comment that method out and all of a sudden all my Xamarin layout issues are gone.  Ok, wishful thinking yes, but all the layout issues with HtmlLabel and the visual elements that are rendered along side HtmlLabel are gone.
I don't know what issue that fixed, but it seems to be messing with a bunch of other stuff in weird ways and it probably should be removed.

@bakerhillpins Hi, sorry for the late answer,
unfortunately, I don't have the answer. I remember v5 was totally made from PRs as I didn't a don't have a Mac or iPhone, so it's impossible for me to work on the plugin.
However, if you think you change works I am happy to review PRs and release a preview package

@matteobortolazzo As it turns out I believe I've got a fix. I was out yesterday but hope to put something together early next week.

@matteobortolazzo So I've put together some code that effectively removes the Kludge/Fix and it no longer freezes for me on iOS. I dug around in here and X.Forms trying to find some hint as to what the Padding Kludge was all about and all I see is a comment from you here.''  Does this jog your memory about it at all?
Otherwise, the "fix" really is just removing the Kludge, and that makes me a bit nervous about re-introducing an old issue.  Reviewing against the X.Forms Label code they don't need anything like the Kludge. I don't see any matching bug either in XF either but there are a few issues reporting text being wrapped out of view with various uses of padding. These do not appear to be resolved.
In reviewing this I've noticed many complaints about UiKit Text controls UiLabel/UiTextView/UiTextEdit having issues when folks insert code (edit) and the control doesn't properly readjust it's size but that shouldn't be at issue here.
I'll create the PR and hopefully that will generate some discussion and I guess we can go from there.

Thanks for the fix @bakerhillpins, it works on my side! 👏

Would love for a new nuget version to get pushed out with these changes! Thanks @bakerhillpins for looking into this and figuring it out!

Sorry for my late replies but I struggle to find time for anything lately. So, after years, I got a Mac and I can check PRs! For this one, @bakerhillpins can you target dev instead of master please?
I will try to release a package during the week

@bakerhillpins can you target dev instead of master please?

Done.

I released version 5.0.2 with the fix


text area and action

Hi, is it possible to add click action to an text area ?
I think i can used lv_page_set_rel_action because the text area is compose of label and page.

Hi,
i have modify the object Text Area for adding an action release.
Here a little patch for this.
0001-add-action-callback-on-text-area.patch.txt
ps : thanks for this beautiful library.

Hi,
For your question:
Yes lv_page_set_rel_action can be used but it really should have  lv_ta_set/get_action functions.
For the patch:
Great, thank you very much! Just one question: Would it be good to not save the action in the Text area? The lv_page saves the action in lv_page_set_rel_action.
So lv_ta_set_action can be only a wrapper to lv_page_set_rel_action with a static inline function in lv_ta.h. What do you think?

I added lv_ta_set_action to dev-5.2


How I can drag element from div in main document to another div inside iframe ??

Please only use GitHub issues for bug reports and feature requests.

[ ] Read the contributing guidelines
[ ] Bug reports containing repro steps are likely to be fixed faster
[ ] Feature requests should be multi-purpose, describe use cases
[ ] For support requests or questions, please refer to our Slack channel

While I'm not a 100% sure this could work for same-origin iframes (although why would you do that), iframes with an external source (another web site/server address) are protected against modifying its contents.
Because of security restrictions on iframes in general, I would think this isn't possible for same-origin iframes either.


🍒 Cherry pick PR #4016 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/Expensify.cash/pull/4016 to staging 🍒

🚀 Deployed to staging         in version: 1.0.77-4🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production         in version: 1.0.77-5🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Some ideas

I add some comments to clarify the used mechanism, it's interesting to declare in the interface the protocol that you need to be conform to,
i fix a little warning on the crazy init method,
a "light" support for older iOS version to be able to use manage this pod version in the project podfile (actually, i'm using it on the Universal App with 2 Widgets and a AppleWatch extension, with target OS version iOS6).

Of course, the Worm is not enable because SDK methods are not available.

Thanks for this! I think this looks great, I'm just gonna review it again tomorrow before merging. I may have a few small comments then, but overall it looks good. Thanks for taking the time to clean some of that up!

Merged. Thanks again!


wrong wording

[Enter feedback here]
For section: You can configure alerts based on your actual cost or forecasted cost to ensure that your spending is within your organizational spending limit. Notifications are triggered when the budget thresholds you've created are exceeded. resources are affected, and your consumption isn't stopped. You can use budgets to compare and track spending as you analyze costs.
--> Resource is not affected by budget thresholds. Please correct the wording above. Thanks!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 09acb09f-6171-fdd8-a5d4-0d036b467c5a
Version Independent ID: 1bffb9cc-b99e-c000-eb9e-47981e27eedc
Content: Tutorial - Create and manage Azure budgets - Microsoft Cost Management
Content Source: articles/cost-management-billing/costs/tutorial-acm-create-budgets.md
Service: cost-management-billing
Sub-service: cost-management
GitHub Login: @bandersmsft
Microsoft Alias: banders

@chieh1127 Thanks for your comment! We will review and provide an update as appropriate.

@chieh1127 Thanks very much for opening this issue and pointing out our error. I've updated the article to fix the issue.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/240730
#please-close


Add function 'Project Sheet'

Description of the feature
Implementation of AEDT's modeling function "Project Sheet"

funtion in menu 'Modeler'
Modeler-> Surface-> Project Sheets...

Steps for implementing the feature
In the AEDT script:
oEditor = oDesign.SetActiveEditor("3D Modeler")
oEditor.ProjectSheet(
	[
		"NAME:Selections",
		"Selections:="		, "Box2,Rectangle3"
	],
	[
		"NAME:ProjectSheetParameters",
		"Thickness:="		, "1mm",
		"DraftAngle:="		, "10deg",
		"KeepOriginals:="	, True
	])

Useful links and references
No response

Hi @ngkazu,
Thanks for opening this issue.
If you already have an idea on how to implement this feature please go ahead.
PyAEDT is an open source repository where anyone can contribute.
Thanks,
Kind regards,
Giulia


Updates some error messages in module.py and scope.oy

Closes #893

Closing this since I've created another PR #1070 which uses my local branch.


fix: the bias is added incorrectly

The bias was added incorrectly. The add will double the bias instead of removing the bias

Thanks for spotting that. Just verified. How's this compared to the previous commit?


[feature request] refactor yurt-edgex-manager to yurt-iot-manager

What would you like to be added:

rename yurt-edgex-manager to yurt-iot-manager
yurt-iot-manager will responsible for the deployment of yurt-device-controller

Why is this needed:

yurt-iot-manager will responsible for the lifecycle of all the components within the IoT sig
support more platforms like EdgeX Foundry in the near future

others
/kind feature

At present, @Rui-Gan  have renamed Edgex-Manager to iot-manager in pr merged to main warehouse, and added platform field (the default is edgex, the user's usage remains the same).
refer: https://github.com/openyurtio/openyurt/pull/1488

I am interested in this issue. Can I do this task?


frontend dev Fix : fixed some eslint errors of Elements in iteration expect to have v-bind:key directives

I have resolved the eslint errors in the file src/components/AIMForm.vue
the complete errors are as below picture

this is a small problem not very sevire for the production version but i thought to resolve this for future developers

@mplaine can you please review this ?

Thanks for your PR! These issues have been fixed earlier.

Thanks, Glad to hear that.
On Wed, Oct 26, 2022 at 1:10 PM Markku Laine @.***>
wrote:

Thanks for your PR! These issues have been fixed earlier.
—
Reply to this email directly, view it on GitHub
https://github.com/aalto-ui/aim/pull/12#issuecomment-1291626085, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMTHD4DVKHYXBZ2T6QWJMHDWFDOALANCNFSM4VQ66UFA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Support noPlayer option

Atleast the players plugin will throw an error because it will try to create a host player even though there is none.

Yeah, sorry about that, it's already fixed locally, will try to push it soon.

Should be fixed now


47775: List of possible export objects doesn't respect source folder when creating from template

Rationale
When creating a new project or folder based on a template, the initial list of folder objects is based on the current folder (or root). The list of objects is not refreshed when the source folder is updated from the dropdown. More details in this tracking isssue:
related issue
Changes

Don't render an initial list of folder object when create from template folder is selected.
Each time the template folder is changed, we update the list of folder objects based on the source folder.
Remove the hard-coded study selection that appeared regardless of the folder, we believe this was legacy and prior to study folder writers being supported through the API.
Render any child folder object, for example if the source folder is study, we now render all of the valid study folder objects (not just the top level study object)
scrollToBottom was not working for chrome, I switched it to use a non Ext4 based method to a javascript using the css scroll-behavior: smooth property. I don' know if we use this elsewhere and am fine to just rely on the auto scroll behavior.

@labkey-klum I pulled down the FB locally and did some testing, overall it looks good. One comment: in the initial state, it seems a little odd to have the empty "Folder objects to copy:" header showing with nothing below it. Thoughts on adding in some empty state text such as "Select a template folder above to see options."?

@labkey-klum I pulled down the FB locally and did some testing, overall it looks good. One comment: in the initial state, it seems a little odd to have the empty "Folder objects to copy:" header showing with nothing below it. Thoughts on adding in some empty state text such as "Select a template folder above to see options."?

@cnathe good suggestion. I added the empty text and also hide the labels and options until a folder is selected.


Bug: Future proof the python build process

Expected Behaviour
Build should pass when adding python 3.10 compatibility
Current Behaviour
Builds will start to back when adding python 3.10 due to use of number instead of string
Code snippet
name: Code quality

on:
  pull_request:
    branches:
      - develop
      - master
  push:
    branches:
      - develop
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 4
      matrix:
        python-version: [3.6, 3.7, 3.8, 3.9]
    env:
      OS: ${{ matrix.os }}
      PYTHON: ${{ matrix.python-version }}
    steps:
      - uses: actions/checkout@v3
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v3
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: make dev
      - name: Formatting and Linting
        run: make lint
      - name: Static type checking
        run: make mypy
      - name: Test with pytest
        run: make test
      - name: Security baseline
        run: make security-baseline
      - name: Complexity baseline
        run: make complexity-baseline
      - name: Upload coverage to Codecov
        uses<EMAIL_ADDRESS>        with:
          file: ./coverage.xml
          # flags: unittests
          env_vars: OS,PYTHON
          name: aws-lambda-powertools-python-codecov
          # fail_ci_if_error: true  # failing more consistently making CI unreliable despite all tests above passing
          token: ${{ secrets.CODECOV_TOKEN }}

Possible Solution
name: Code quality

on:
  pull_request:
    branches:
      - develop
      - master
  push:
    branches:
      - develop
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 4
      matrix:
        python-version: ["3.6", "3.7", "3.8", "3.9"]
    env:
      OS: ${{ matrix.os }}
      PYTHON: ${{ matrix.python-version }}
    steps:
      - uses: actions/checkout@v3
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v3
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: make dev
      - name: Formatting and Linting
        run: make lint
      - name: Static type checking
        run: make mypy
      - name: Test with pytest
        run: make test
      - name: Security baseline
        run: make security-baseline
      - name: Complexity baseline
        run: make complexity-baseline
      - name: Upload coverage to Codecov
        uses<EMAIL_ADDRESS>        with:
          file: ./coverage.xml
          # flags: unittests
          env_vars: OS,PYTHON
          name: aws-lambda-powertools-python-codecov
          # fail_ci_if_error: true  # failing more consistently making CI unreliable despite all tests above passing
          token: ${{ secrets.CODECOV_TOKEN }}

Steps to Reproduce
Adding 3.10 as a number will fail builds eg: https://github.com/michaelbrewer/aws-lambda-events/commit/560d91ccf8191e71fef9bc19abe756c493b0461e
AWS Lambda Powertools for Python version
latest
AWS Lambda function runtime
3.6
Packaging format used
Lambda Layers
Debugging logs
NA

We currently don't support Python 3.10 as it's not a supported managed runtime in Lambda, as per: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
Once Lambda supports 3.10, we'll be adding support for running tests against it.

@sthulb - i know, just that i know this will be an issue and will run into problems if you call using
python-version: [3.6, 3.7, 3.8, 3.9] instead of python-version: ["3.6", "3.7", "3.8", "3.9"]


Placeholder for tracking the mutation applied in Hadoop Bad Rows

Potentially a new context added to audit the mutation required to get this through the Snowplow pipeline

It would be possible for users to do this in the custom JavaScript.

Good way of prototyping it!

migrated to snowplow-incubator/snowplow-event-recovery#21


Add Tad guide

Per a suggestion by @Alex-Monahan in a github discussion on the main DuckDb repo announcing Tad, I've added a guide to using Tad to browse tabular data files and DuckDb databases.  Most of the content taken from the original announcement, adapted a bit to fit with the DuckDb Guide format.

Thank you for putting this together! I haven't run it through jekyll, but it looks good upon a read through!

Thanks!


ILT0014

I have error when compiling =(
C:\Users\UserName.nuget\packages\microsoft.net.native.compiler\2.2.3\tools\Microsoft.NetNative.targets(801,5): error :  ILT0014: Failed to compile interop source code. See the build log for error details.

Oh I had that error once,  but I can not remember what I did.
Have you tired unchecking the "compile .Net Native toolchain"

Also what are your compile settings? 64-Bit debug?
Have you checked the build log for further information?

Okay, i use 64-Bit debug, and check this checkbox, and it's compiled. But cant run app(

If you want to package it to be able to install it on any device you have to the following:

Right click project in solution explorer
Click "Publish"
Click "Create App Packaging"
Choose "Sideloading"
Continue the process

Then you will get a folder with all the files you. In it is a powershell file. Execute it.
=> App is installed on your pc
Note that if you run the app in VisualStudio, it be installed aswell and you are able to open it via WindowsSearch

Thank you! You are best! After new commits, building without any problems!

пожалуйста,
If you have any more questions or want some information about some code section I will be happy to help :)

What you think about add Open Control Panel when click on gear?) And why menu sandwich moving one sec pixels down? )

The gear icon was intended for some settings (e.g. changing hotkeys to different ones, displaying information about the author, changing the color theme etc.)

Do you mean this by sandwich? If yes then I am not responsible for positioning the element not on the top. I used https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/navigationview library element to build the sidebar.
You are more than welcome to contribute to the file explorer if you wish to.
For example things I wanted to do are:

Making drag&drop work properly
Make the grid view usable (its only for the visuals now) :)
Enable history for any file that you can see where you moved it around
Make the columns modifiable (e.g hide some colums, make them fit when resizing the window, ...)

I still have a few more ideas, but not enough time :(

Yeah, but https://docs.microsoft.com/ru-ru/uwp/api/windows.ui.xaml.controls.navigationviewbackbuttonvisible


Visualization - some info + deploy.sh cleanup

Added print hosts_at_version to main check
This will tell how many nodes in the cluster are ready.
Added LogLevel=ERROR to ssh config to reduce noise.
Moved ssh_config from all commands to a variable
This reduces the code text density in deploy.sh
making it easier to read and edit
Changed some sleep s from 5 to 30/120 depending upon the case.
This helps to reduce the noise and worst case scenario increases the build time
by upto 2 mins.

please test this

please test this

please test this

please test this

can you have a look at this and see if it matches what you expected?
http://jiocloud.rustedhalo.com:8080/job/puppet-rjil-gate/1978/console

Test PASSed

please test this

Test PASSed

@bodepd this is as expected .. http://jiocloud.rustedhalo.com:8080/job/puppet-rjil-gate/1985/console
The only thing is .. in tenant gate build from localhost, even the debug ssh banner is silenced as expected. But in jenkins, the debug banner is still there. no idea why :! even python jiocloud ssh_config change did not help.

please test this

Test FAILed

bad status line hit last one. rerunning (btw realised python-jiocloud changes were not in effect due to older venv. Cleaned them up.

please test this

now stuck in scheduling :!

Test FAILed

please test this

Test FAILed

last build failed as gcp1 had n.w issues / userdata seemed to be broken (http_proxy was not set).

please test this

Test PASSed

http://jiocloud.rustedhalo.com:8080/job/puppet-rjil-gate/1991/console has my version of python-jiocloud and hence expected output. The rest of the builds for this PR used the master.

@bodepd please check this and the linked python-jiocloud change. its good to go from my side.

can you launch one more build? I just want to do a sanity check before merging, the code looks fine

please test this

Test FAILed

Test FAILed

gcp/tempest failure issue.

please test this

Test FAILed

please test this

Test FAILed

please test this

Test FAILed

please test this

Test FAILed


Update b2b-tutorial-require-mfa.md

Adding note about Trust MFA new capability

@JeffBley : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@JeffBley : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@PRMerger12 done.

#label:"aq-pr-triaged"

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Invalid definition in fixtures

While working on this ticket:
https://github.com/swagger-api/swagger-parser/issues/335
I discovered that this example:
https://github.com/OAI/OpenAPI-Specification/blob/master/fixtures/v2.0/json/resources/resourceWithLinkedDefinitions_part1.json
Which is actually not legal.  All dereferencing must be done in the files, and the #/definitions/*** in this file do not exist.

Fixed by https://github.com/OAI/OpenAPI-Specification/commit/f51b239bd71ebcf522f727c7359403ce10e87b9c


fix lowercase phrases in SQLASTOutputVisitor

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Tarea 1 [2265]

Migrated from https://hub.jazz.net/ccm43/resource/itemName/com.ibm.team.workitem.WorkItem/2265


DM-38525: Implement basic body-to-summary feature

One more thing you might do is talk about the new method of setting a summary in the README (i.e., default to the first paragraph, but setting the summary metadata is also ok). I might recommend we change most of the examples to assume that summary isn't set.


Glutin 0.30.8

[ ] Tested on all platforms changed
[ ] Compilation warnings were addressed
[ ] cargo fmt has been run on this branch
[ ] cargo doc builds successfully
[ ] Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
[ ] Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
[ ] Created or updated an example program if it would help users understand this functionality

Tested on:

Windows, macOS, X11 all works fine
Wayland unsupported as usual

Quirks:

X11 example window will not be rendered in transparent
resizing window in X11 will not refresh immediately but I believe that's to be fixed in tao

Since glutin isn't tightly coupled with winit. Can you complete refactor this repo and provide a crate called glutin-tao only. And if possible also setup a CI that suits for us.


Use multiple elevation data sources

I did some more research about different elevation data sources with the goal to provide elevation data for countries that lie outside of the area covered by SRTM.
During my research I found some global or almost global datasets:

Aster Gdem
ALOS AW3D30
GTOPO30
GMTED2010
Viewfinderpanoramas

Aster Gdem and AW3D30 both have the issue that they have big holes of missing data, e.g. see the coverage map of AW3D30 (you can see that the holes in the SRTM covered area have been filled with SRTM data).
GTOPO30 has a resolution of 30 arc seconds, which translates to a grid of roughly 1*1 km, which is simply too coarse, as some valleys do not show up in this data.
GMTED2010 has a resolution of 7.5 arc seconds, which is roughly a grid of 250*250 m and is available between latitudes of 84°N and 70°S.
The 3 arc second data of Viewfinderpanoramas is often described as one of the best datasets available. I am still not 100% sure about the license of Viewfinderpanoramas, will need to investigate more.
Therefore, the interesting choices for us would be GMTED2010 or Viewfinderpanoramas. Due to the licensing uncertainty, I started with an implementation using the GMTED2010 elevation data.
As expected the elevation calculation with GMTED for areas covered by SRTM are worse than the CGIAR data, but the data is good enough to produce a rough elevation diagram. If we would further smooth the elevation values, the results could be pretty good.
I added a MultiSourceElevationProvider that returns results from different ElevationProviders depending on the requested coordinates. Currently it returns CGIAR data inside of the SRTM covered area and GMTED data outside of the SRTM covered area.
Top GMTED, Bottom CGIAR from GH maps

Top GMTED, Bottom CGIAR from GH maps

Top GMTED, Bottom CGIAR from GH maps

Top GMTED, Bottom CGIAR from GH maps. This route follows the donau valley, with the more coarse elevation data, it happened more often that a small part of a road ended up "on top of a hill", you can see the spikes, but they appear for the CGIAR data as well as the GMTED data. The spikes look bad, but are only ~40-50m (see the heights on the left, the route itself is quite flat).

A routing accross the SRTM borders. Top GMTED, Mid GH maps, Bottom the MultiSourceElevationProvider.

Also a short route with the Multi Source Provider, showing the switch of resolution. The slider has been moved to the position where the data switches. The left side has a lot more details (CGIAR), the right side is more coarse (GMTED):

Overall I really like the multiple source approach. At this point I cannot see any disadvantage compared to our current approach, but it offers the benefit of adding elevation data outside of the SRTM covered area. Using the same approach we could also add high precision elevation data, that is often only available for smaller areas, also see #384.

Wow, cool & thanks!

Ok, I tried to squash this PR after merging in the master, but apparently, the merging information gets lost due to squashing. Now all the changes of the master pollute this PR as well. I can try to create a new PR extracting all the my changes from the change log by hand.

Hmmh, not sure what you mean. What are you doing to squash the changes?
My steps would be squash into a single commit, push force into the branch so that it appears here, then we merge it into master.

What are you doing to squash the changes?

git rebase -i HEAD~n (n=number of commits)
# Then I squash by changing pick to s and update the commit message to make sense.
git push -f origin [branch-name]

My steps would be squash into a single commit, push force into the branch so that it appears here, then we merge it into master.

Yes, this is not possible if you need to merge the master, especially not if there are merge conflicts, because the information about the merge will be lost. Have a look at the changes in this PR, it shows every change made in the master since I created this PR.
I think my mistake was to squash the merge commit as well. But since merging the main.js file is not reasonable, I recreated it after merging. This requires another commit. But I cannot squash this commit, as the important merge information for git seems to get lost.
BTW: These are some of the issues I mentioned in #1208. IMHO there are too many issues with squashing locally.

Yes, this is not possible if you need to merge the master

Yes, if you intend to squash things you should not do this. In those case people rebase the branch to the master, not merging the master into the branch.
Or you do it the lazy 'reset' way: https://makandracards.com/makandra/527-squash-several-git-commits-into-a-single-commit but then you need to recreate the feature branch

IMHO there are too many issues with squashing locally

They would have the same issues remotely if they'd do it that way so we need to find a simple method that always works...

Yes, if you intend to squash things you should not do this.

But doesn't this unnecessarily complicates the whole development process? It should be always possible to update a PR from the master branch. Also what happens with merge conflicts that cannot be solved easily like the main.js file?

we need to find a simple method that always works...

Yes absolutely.

But doesn't this unnecessarily complicates the whole development process?

You do it via rebase, when I have more time I'll dig into it. But as github has an automated way to do this server side there is a simple method :D

we need to find a simple method that always works

The reset method in the link above always works btw ...

The reset method in the link above always works btw ...

Ok, I can try this method for the next PR then.

But as github has an automated way to do this server side there is a simple method :D

I know, and I really like the GitHub way :).


Field type timestamp mysql default value

Is it possible to add default current timestamp and on update current timestamp to the mysql migrate schema? I tried using it like below but it throws an error. This is the error when migrating:
2020/06/18 13:28:07 failed creating schema resources: sql/schema: mysql: unsupported type: time.Time

For time fields, ent doesn't set the default value on the database. However, in cases like this, we can just ignore it. Please paste here your schema and I'll send a patch for this.

Yeah the schema's of this project are private 😅 So I can't send the schema. Is it possible to fix this in a future version? The code above is a mixin for the create_time and update_time. I need the default and on update for a client who wants to insert records from Microsoft access and want to have create_time and update_time to be set by default :)

I didn't mind the whole schema, just these 2 fields in the screenshot 😄 .

I didn't mean the whole schema, just these 2 fields in the screenshot 😄.

The screenshot from above is enough?

Do you need something else from me?

Hey @sj8m and sorry for the delay.
I've landed 3e7481c3a015400fd5f407aba1c57f35731601dc that ignores the MySQL default values for time fields, and it should not apply any changes for the second time the migration runs.
However, it won't work with the current way you declare the schema, because you add additional parameters to the schema datatype (the create/update default values).
I suggest to close this issue and open a new one for adding support for fields/edges dialect-specific DDLs. For example:
// Add abstraction for common DDLs.
field.Time("create_time").
    DDL(
        field.Default("CURRENT_TIMESTAMP"),
        field.OnUpdate("CURRENT_TIMESTAMP")
    )

// Add additional information for the given column. The EXTRA in the
// INFORMATION_SCHEMA table. For example, the "ON UPDATE" clause.
field.Time("update_time").
    SchemaDef(map[string]string{
        MySQL: "DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP",
    })

// Completely override the ent-migration column definition.
field.Time("create_time").
    SchemaDef(map[string]string{
        MySQL: "TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL",
    })


Vector basemaps

Upgraded / switched to a deck.gl + react-map-gl + maplibre-gl-js setup, with react-map-gl Map as the root component and map controller. Now using a vector basemap

One known issue: the old HUD setup works only partially - maplibre hijacks the map Controls (Attribution, Navigation, Scale etc) and positions them according to its own logic (in one of the corners).
This means that these controls won't be laid out together with other HUD elements such as legend, place search etc, so there can be some overlaps. Attribution also gets hidden under the bottom sheet on mobile screens.
Fixing is not trivial, need to figure out a way to add controls to maplibre but keep control over adding the actual element to the DOM. How controls are managed has changed in react-map-gl 7+, hence the problem


Create node.js.yml

Summary

Screenshots (optional)

Documentation checklist

[x] The documentation style guide has been adhered to.
[x] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
[x] Files which have changed name or location have been allocated redirects.

$ npm run dev


Commit 1: Update the tags of the official #gnome apps. Commit 2: Anjuta -> GTK3. Commit 3: Loupe is now "Image Viewer"

Commit 1:
I had a look at the official GNOME app list (here: https://apps.gnome.org/) and I noticed that many applications in the list had the tag #gnome, but they are either not official GNOME apps anymore (e.g. because they are outdated and/or never started to adopt GTK4), for example Rythmbox or Evolution, or they have never been official GNOME apps. Therefore, I compared the list and the website apps.gnome.org and I removed the tags where they were not matching.
I actually was surprised with Shotwell, Gnote, Getting Things GNOME, but they are not listed in apps.gnome.org
There are a number of apps in apps.gnome.org which are not yet in the list, but so far I haven't yet added them.
Commit 2: I changed Anjuta from GTK2 to GTK3, because it was already ported, before the project was abandoned.
Commit 3: Loupe is now called "Image Viewer" as per https://apps.gnome.org/

Many applications have indeed been removed from the "core GNOME apps" recently—thanks for the update!"


KSES: Prevent markup removal when editing stories via "All Stories" page

Context
Fix KSES quick edit.
Summary

Relevant Technical Choices
Hook into admin ajax early and setup KSES class.
Added E2E for publishing story as author and doing quick editor.
To-do

User-facing changes

Testing Instructions

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[ ] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[ ] I have tested this code to the best of my abilities
[ ] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #6076

@spacedmonkey Does this also fix the issue for bulk edit? Looking at the ticket again it mentions bulk edit in the screenshot: https://d.pr/jVaqHq

@spacedmonkey Does this also fix the issue for bulk edit? Looking at the ticket again it mentions bulk edit in the screenshot: https://d.pr/jVaqHq

By the way, the checklist is there to fill out :-)

By the way, the checklist is there to fill out :-)

@swissspidy I didn't see the part about bulk editing. There is going to be a problem, as bulk editing works very differently from quick edit.
There are also no filters or works to play with here.
Either we refactor KSES class to hook in before and after save of post. Say wp_insert_post_empty_content filter and wp_insert_post action. But that is a very big change. But that would also fix if you save on say WP CLI as well.
The larger question, why not just enable these filters / attributes everywhere. Why don't we do this in plugin call.
		$this->kses = new KSES();
		add_action( 'init', [ $this->kses, 'init' ] );

@swissspidy I didn't see the part about bulk editing. There is going to be a problem, as bulk editing works very differently from quick edit.
There are also no filters or works to play with here.
Either we refactor KSES class to hook in before and after save of post. Say wp_insert_post_empty_content filter and wp_insert_post action. But that is a very big change. But that would also fix if you save on say WP CLI as well.
The larger question, why not just enable these filters / attributes everywhere. Why don't we do this in plugin call.
		$this->kses = new KSES();
		add_action( 'init', [ $this->kses, 'init' ] );

Either we refactor KSES class to hook in before and after save of post. Say wp_insert_post_empty_content filter and wp_insert_post action. But that is a very big change. But that would also fix if you save on say WP CLI as well.

Let's explore this route.
Maybe with actions pre_post_update and wp_insert_post  instead. Why?
Insertion of stories with AMP markup only happens through our editor, so we can keep current KSES logic in the REST API controller.
However, updates, can happen everywhere (quick edit, bulk edit, CLI).

The larger question, why not just enable these filters / attributes everywhere. Why don't we do this in plugin call.
		$this->kses = new KSES();
		add_action( 'init', [ $this->kses, 'init' ] );

Our KSES class should only run for stories, not for everything and every user.

Either we refactor KSES class to hook in before and after save of post. Say wp_insert_post_empty_content filter and wp_insert_post action. But that is a very big change. But that would also fix if you save on say WP CLI as well.

Let's explore this route.
Maybe with actions pre_post_update and wp_insert_post  instead. Why?
Insertion of stories with AMP markup only happens through our editor, so we can keep current KSES logic in the REST API controller.
However, updates, can happen everywhere (quick edit, bulk edit, CLI).

The larger question, why not just enable these filters / attributes everywhere. Why don't we do this in plugin call.
		$this->kses = new KSES();
		add_action( 'init', [ $this->kses, 'init' ] );

Our KSES class should only run for stories, not for everything and every user.

Maybe with actions pre_post_update and wp_insert_post instead. Why?

Doing this doesn't work
$kses = new KSES();
add_action( 'pre_post_update', [ $kses, 'init'] );
add_action( 'wp_insert_post', [ $kses, 'remove_filters'] );

Pre post update fires on line 4039. However sanitize_post is called on line 3713. There is no filter or hook before sanitize_post is called.
We could use wp_insert_post_data. However unsanitized_postarr was only adding in 5.4.1
I think we may have to enable kses globally

Maybe with actions pre_post_update and wp_insert_post instead. Why?

Doing this doesn't work
$kses = new KSES();
add_action( 'pre_post_update', [ $kses, 'init'] );
add_action( 'wp_insert_post', [ $kses, 'remove_filters'] );

Pre post update fires on line 4039. However sanitize_post is called on line 3713. There is no filter or hook before sanitize_post is called.
We could use wp_insert_post_data. However unsanitized_postarr was only adding in 5.4.1
I think we may have to enable kses globally

Maybe with actions pre_post_update and wp_insert_post instead. Why?

Doing this doesn't work
$kses = new KSES();
add_action( 'pre_post_update', [ $kses, 'init'] );
add_action( 'wp_insert_post', [ $kses, 'remove_filters'] );

Pre post update fires on line 4039. However sanitize_post is called on line 3713. There is no filter or hook before sanitize_post is called.
We could use wp_insert_post_data. However unsanitized_postarr was only adding in 5.4.1
I think we may have to enable kses globally

Hmm looks like it :/ And there's no ideal filter in sanitize_post_field that passes the post ID or anything.
Let's give it a try then..

Maybe with actions pre_post_update and wp_insert_post instead. Why?

Doing this doesn't work
$kses = new KSES();
add_action( 'pre_post_update', [ $kses, 'init'] );
add_action( 'wp_insert_post', [ $kses, 'remove_filters'] );

Pre post update fires on line 4039. However sanitize_post is called on line 3713. There is no filter or hook before sanitize_post is called.
We could use wp_insert_post_data. However unsanitized_postarr was only adding in 5.4.1
I think we may have to enable kses globally

Hmm looks like it :/ And there's no ideal filter in sanitize_post_field that passes the post ID or anything.
Let's give it a try then..

@swissspidy I have a really hacky workaround for bulk actions. Can you take a look at this. It worked in my testing, but not sure it will work 100% of the time. If you are happy with this workaround, i will add some tests to validate it.

@swissspidy I have a really hacky workaround for bulk actions. Can you take a look at this. It worked in my testing, but not sure it will work 100% of the time. If you are happy with this workaround, i will add some tests to validate it.

@swissspidy I have a really hacky workaround for bulk actions. Can you take a look at this. It worked in my testing, but not sure it will work 100% of the time. If you are happy with this workaround, i will add some tests to validate it.

Does this work for "Restore from trash" as well?
It wouldn't work for cases where one updates a story via WP-CLI (or some other ways I can't think of right now).
I'm just worried that we'll be constantly adding workarounds for every different scenario that pops up — like playing whac-a-mole

@swissspidy I have a really hacky workaround for bulk actions. Can you take a look at this. It worked in my testing, but not sure it will work 100% of the time. If you are happy with this workaround, i will add some tests to validate it.

Does this work for "Restore from trash" as well?
It wouldn't work for cases where one updates a story via WP-CLI (or some other ways I can't think of right now).
I'm just worried that we'll be constantly adding workarounds for every different scenario that pops up — like playing whac-a-mole

I'm just worried that we'll be constantly adding workarounds for every different scenario that pops up — like playing whac-a-mole

I agree, there are just not the filters and actions in the right places to do this. I think we have to add it everywhere otherwise we get future bug reports. I will change this PR.

I'm just worried that we'll be constantly adding workarounds for every different scenario that pops up — like playing whac-a-mole

I agree, there are just not the filters and actions in the right places to do this. I think we have to add it everywhere otherwise we get future bug reports. I will change this PR.

@swissspidy I have done a big refactor, removing the remove_filter method and just trigger the init method once. This removes a lot of code, so you will need to re-review.

Could you please add some thorough QA instructions?
Code looks good, but gonna do some preliminary testing too.

Could you please add some thorough QA instructions?

Done

Could you please add some thorough QA instructions?

Done

Let's add the other scenarios to the testing instructions as well. Trashing & restoring, bulk edit, etc. Not just quick edit.

Still failing

PHP Fatal error:  Cannot use Google\Web_Stories\KSES as KSES because the name is already in use in /home/runner/work/web-stories-wp/web-stories-wp/tests/phpunit/includes/KsesSetup.php on line 6

Nit: KSES_Setup.php seems more readable than KsesSetup


[Snyk] Security upgrade werkzeug from 2.2.3 to 3.0.6

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

requirements.txt

⚠ Warning
sphinx 5.3.0 has requirement docutils<0.20,>=0.14, but you have docutils 0.20.1.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Directory Traversal
🦉 Allocation of Resources Without Limits or Throttling

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.18%. Comparing base (274cd9a) to head (102d9f1).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #188   +/-   ##
=======================================
  Coverage   77.18%   77.18%
=======================================
  Files          30       30
  Lines        1775     1775
=======================================
  Hits         1370     1370
  Misses        405      405

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

already fixed


Completing one drop of a campaign swithces to another campaign

as you can see there are currently 5 campaigns in rust

when I first used the app it started watching Frost_ to claim Rust Captain drops but once it finished the first drop of Rust Captain it switched to trausi to claim Rust Players campaign without completing Captain Campaign which is the first campaign it started watching.
after completing the first drop of Rust Player it switched to hjune and started claiming his drops but hjune didn't have this problem it kept watching hjune until all of his drops were claimed and it got stuck on hjune kept watching hjune while trying to claim drops from other campaigns he doesn't have. I don't know why but I think because hjune was the most watched streamer in Rust he was at the top all the time maybe that's why it got stuck there.
I tried reloading the app from settings it didn't fix the issue of being stuck on hjune but the bar that says which drop it's currently progressing on was at 50% or so and it got back to 0% cause it wasnt actually progressing in that drop it kept progressing in the app but what I see in my twitch inventory outside the app says 0% and it was not going up until I restarted the app. once I did it finally switched from watching hjune to watching a streamer in the Rust Captain Campaign. so I just kept checking on it manually every few hours and restarting it if it's not progressing. later on, I set it up to auto-run at log-on in Task Scheduler and restart every hour. All my issues were fixed here. I don't have any issues currently using the auto-restart method.
Now I'm claiming all my drops automatically without opening the app or doing anything i set it up to auto-open when I log on to my PC in tray mode. Because I don't have any issues using this method I didn't feel like posting about my problem.
thank you for the amazing app it's a timer saver.

Hello o/

when I first used the app it started watching Frost_ to claim Rust Captain drops but once it finished the first drop of Rust Captain it switched to trausi to claim Rust Players campaign without completing Captain Campaign which is the first campaign it started watching.
after completing the first drop of Rust Player it switched to hjune and started claiming his drops but hjune didn't have this problem it kept watching hjune until all of his drops were claimed

All of this is intended behavior. If there is multiple campaigns available at once, and they all have the same priority according to the priority list, then the miner will watch whatever streamer has the greatest amount of viewers at the time, since that's how the channels list is sorted by at the end, and that's also how the next channel to watch is selected. This means that, every time an automatic reload happens, the channel can change, and with it, the campaign that's being progressed as well.

it got stuck on hjune kept watching hjune while trying to claim drops from other campaigns he doesn't have. I don't know why but I think because hjune was the most watched streamer in Rust he was at the top all the time maybe that's why it got stuck there.

This is a bug that's already tracked by #301. "trying to claim drops from other campaigns he doesn't have" is not a thing, the miner will only watch a channel that can actually progress any campaign, but the information that lets you decide about that sometimes isn't updated (#301), which can make it stuck on a drop that should be completed, but isn't.

I tried reloading the app from settings it didn't fix the issue of being stuck on hjune but the bar that says which drop it's currently progressing on was at 50% or so and it got back to 0% cause it wasnt actually progressing in that drop it kept progressing in the app but what I see in my twitch inventory outside the app says 0% and it was not going up until I restarted the app.

Again, more #301. Issue is known and being worked on. You can check out the discussion there to see if anything there helps.

once I did it finally switched from watching hjune to watching a streamer in the Rust Captain Campaign. so I just kept checking on it manually every few hours and restarting it if it's not progressing.

That works, but it should really be doing that without having to baby-sit it. There might be some Twitch internal machinery cooldowns coming into play here, where you're better of just shutting down the miner entirely, giving it at least 5 minutes of break, and then opening it again. That should reset everything on the Twitch server side, and proceed more smoothly from then on.

later on, I set it up to auto-run at log-on in Task Scheduler and restart every hour. All my issues were fixed here. I don't have any issues currently using the auto-restart method.

As I've mentioned before, auto-restart shouldn't be necessary, as the maintenance task will already reload the application every hour for you, and that should make it unstuck on it's own. If pressing the Reload button (not restarting) doesn't make it unstuck, then it may suggest an internal error with the miner. However, you'd have the traceback of that error displayed in the output window. I'd need that traceback to further diagnose the issue.

i have claimed all my drops already so it just says no active campaign.

If pressing the Reload button (not restarting) doesn't make it unstuck, then it may suggest an internal error with the miner. However, you'd have the traceback of that error displayed in the output window. I'd need that traceback to further diagnose the issue.

where does it show that? cause i haven't seen any errors in the miner window.
i think if reloading the miner functioned like a restart it would fix the problem entirely. like why does switch streamer on reload sometimes and not always? maybe just rewatch the same streamer or switch to another but not keep watching the same streamer without reselecting it

where does it show that?

Output window of the miner, here:

You may need to scroll up to see

if reloading the miner functioned like a restart it would fix the problem entirely

It already does so. There is some very specific conditions, where a restart would work better than a reload at resolving an issue, but for that to happen, a traceback would be printed out to the Output window. If it does so, I need to to resolve the issue. If it doesn't, then a reload is just as good as a restart, and the miner should reload itself automatically every hour, without having to restart anything, and especially without having to setup any external scripts that'd restart it for you.

why does switch streamer on reload sometimes and not always?

The channel selection logic follows through a bunch of conditions, to determine if, when, and to which channel it should switch, in order to continue mining. These are:

When the channels list is refreshed, the new and updated channel object replaces the old watching channel object. When this happens, a check is performed to ensure the channel can still be watched - if not, it's stopped being watched.
https://github.com/DevilXD/TwitchDropsMiner/blob/9c0318dab19cca5e0d96d646763149bfbe6f6d26/twitch.py#L960-L970

Next, the current channel selection is considered, to allow the user to switch to the channel they'd like to select. The check additionally verifies if the selected channel is able to mine anything, and if so, it's chosen as the new watching channel.
If there's no selection present, the list of channels (in the order as you can see them in the window), is first sorted with the game's priority value (since the list is initially sorted with that too, then usually there's no order changes), and then the channels are sequentially checked for mine-ability. Even if a channel can be mined, the should_switch check will prevent a switch from happening, unless the channel is found to have a higher priority game than the current watching channel (if the game/priority is the same, then no switch happens).
https://github.com/DevilXD/TwitchDropsMiner/blob/9c0318dab19cca5e0d96d646763149bfbe6f6d26/twitch.py#L993-L1006

As you can see, the existing logic already tries to limit switching channels, unless it's necessary. If the channels were being switched as you say, then the miner had to have a good reason to be doing so - either those channels were actually offline and were deselected at step #1, or they were online but stopped streaming Rust, or the streamer was restarting the stream in that very moment, or something else. We won't know, unless you have the output log from that particular run of the miner.
In either case, I'll need some actual logs to be able to help you. Please launch the miner with a -vvv flag, to enable more extensive logging of the application state, and if/when something like this would happen again, then save the resulting log to a text file and post it here for me to look at. You can enable automatic logging to a file with an additional --log flag as well.

thanks mate.
yeah i just realised my question about why dont the miner switch channels always is dumb my bad
i will see once rust drops come back.

I'm assuming this issue has stopped happening at some point, especially after the recent changes Twitch has introduced, so I guess this can be closed now. If the problem reoccurs, please open another issue.


Update init.py

Updated year

Pull request summary

Checklist

[ X] If code changes were made then they have been tested.

[ X] I have updated the documentation to reflect the changes.
[ X] I have updated the changelog with a quick recap of my changes.

[ X] This PR fixes an issue.
[X ] This PR adds something new (e.g. new method or parameters).
[X ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[X ] This PR is not a code change (e.g. documentation, README, ...)

Hi there,
We do not accept copyright year update PRs. If you are interested in contributing to the library, please consider finding something to actually improve!


Explore using with Kotlin

Explore using HttpBuilder-NG with Kotlin and document how to use it in the User Guide.
Being another JVM-based language, it should just work for the most part, but it would be nice to ensure that we can take advantage of any Kotlin DSL sugar.
This will probably result in a Kotlin-based unit test of the use case along with some added documentation.

The library works with kotlin in a similar manner to the Java usage - I don't see the need for any special modifications or documentation at this time.


Added Akshay's Image

Everybody upload your pending bills ASAP
https://drive.google.com/drive/folders/1f1TCvYXBGC2K8s94vqX0wLKzGAZy_mTd?usp=sharing
Regards,
Gaurav Suryawanshi,
Third Year Undergraduate,
Mathematics and Computing,
IIT Kharagpur,
Mob:-+91-9409493648, Facebook
https://www.facebook.com/gaurav.suryawanshi.88, LinkedIn
https://www.linkedin.com/in/gaurav-suryawanshi-b2017286/?lipi=urn%3Ali%3Apage%3Ad_flagship3_search_srp_jobs%3B9ok%2BR0lmSB2Fu6YVehJ%2BDA%3D%3D&licu=urn%3Ali%3Acontrol%3Ad_flagship3_search_srp_jobs-nav.settings_view_profile


Update version guards for searchable snapshots

Resolves #7151
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

hmm, build seems to have succeeded:
BUILD SUCCESSFUL in 25m 28s

but it reports failure at the end:
...
Removing login credentials for https://index.docker.io/v1/
+ docker image prune -f --all
Total reclaimed space: 0B
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code -2
[Checks API] No suitable checks publisher found.
Finished: FAILURE


Using Local-memory as Redis replacement in test environment

Describe the problem
I'm using Redis as a backend for both caching and Constance, in my test env I'm replacing Redis with Local-memory caching. How should I use Constance in this setup?
System configuration

Django version: 2.0.5
Python version: 3.6.5

Really important. At the moment I work on the system with sophisticated data processing and it is very uncomfortable to restore local Constance settings every time after the unit-tests run (I have to use and unit and manual testing locally)
As a workaround you can so the next:
(in settings.py)
TEST_MODE = 'test' in sys.argv

if TEST_MODE:
    # change constance DB to preserve existing local settings:
    CONSTANCE_REDIS_CONNECTION = 'redis://localhost:6379/1'

See this PR https://github.com/jazzband/django-constance/pull/394

Done in #394


for the CA for exit button

ca for exit buttom

I tried pulling it after Jon's new database stuff and it seemed to conflict but that's alright, I'll just refactor the exit chat from scratch.


For interest : make streama works automatically when running Ubuntu

Download this file :
https://drive.google.com/file/d/1HRIkI0Au9cTObSNgmfBk3kZSxXKAwVAO/view?usp=sharing
copy and paste in /etc/init.d/
Make the script executable :
cd /etc/init.d/
chmod a+x streama
update-rc.d streama defaults
Reboot the machine and make sure that streama has started.
Note: Open the file you downloaded and change the address of the streama if you have another Dir like :
Streama_DIR=/var/www/streama/  >>> Streama_DIR=/var/www/streama1/

This is cool! but why are you letting ppl download from a drive-document? feels a bit strange. Is that a differently compiled streama.war?

also, I'd like to invite you to write this as a wiki page here on streama-github :)

I dont think you need a custom streama, the streama in my releases is also executable, so you could just do the same with that, no?

1- I don't use a custom streama , This is a shortcut to the main streama address
2- I use the google drive because he is the best in my country
3- the executable for the shortcut streama , not for the main streama
also , you can try it

I've made a wiki page for running as a service: https://github.com/dularion/streama/wiki/Running-as-a-service-(autostart)-on-Ubuntu-15-or-higher


chrysler: increase RAM DT steer max to safety limit

TODO:

[ ] gather data
[ ] update torque params to converged values

@nuwandavek can you determine the best torque param values?  Should be plenty of data now.

@nuwandavek we also discovered the learned friction is above 0.1 (currently it gets clipped) but it doesn't seem to drive great with that value, so needs review.


Make verify-ssl optional and Add unit tests for decoder.go

Issue #, if available: None
Description of changes:
verify-ssl value in the cloudstack cloud config secret should be optional and its default value should be "true".
Testing (if applicable):
unit testing
ok      github.com/aws/eks-anywhere/pkg/providers/cloudstack/decoder    0.341s   coverage: 100.0% of statements
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cc @vignesh-goutham

/approve

Created a new PR based on main branch: https://github.com/aws/eks-anywhere/pull/1554


devtools-ui-kit in ssr mode

We can't start nuxt in ssr mode with devtools-ui-kit.
window is undefined.
I tried to alias @nuxt/devtools-kit/iframe-client without success.
Reproduction :
https://codesandbox.io/p/sandbox/inspiring-blackburn-evyfgu

I've been creating a CMS with an architecture very much inspired by nuxt-devtools. It use devtools-ui-kit for the moment.
We can use the cms embedded in our static site, like the nuxt-devtools popup, or running the cms in a standalone mode.
So far, I use the cms in SPA mode. I've tried in SSR mode and devtools-ui-kit does not allow that...
You can close this issue if you want.


[wish] make a new release

The current release 18.10.1 is one year old, and many improvements have been made in the meantime.

Right, I am late, I try to have a clean version ASAP.

Could a new release be made by end of next week? Thank you!

I am aware I am super late on this, but still reluctant to push a release with partial parts (there are some features which are implemented, but not completely).

No problem, I’ll make an unofficial release for my class in Hyderabad.

I just made an official release, needed for my FHF/FIAF class in Hyderabad, therefore closing.

The current release 18.10.1 is one year old, and many improvements have been made in the meantime.

The current release is now 20 months old and so much has been improved since then. In my opinion, a new release is really needed! Also because new developments seem to be stalled during the last weeks.

Definitely super mega late and my todo-list is very long, I try to catch up this delay as soon as possible.


Update dependencies, golangci-lint and switch to gofumpt

What this PR does / why we need it:

Bump kubevirt.io api and client-go to version 1.2.1 and update the calls
to the client to match the new function signatures.
Bump ginkgo and go-restful dependency versions
Bump golangci-lint to v1.57.2, import the latest config changes from
kubevirt/kubevirt in .golangci.yml and fix deprecation warnings in
the process.
Switch from gofmt to gofumpt to satisfy the new .golangici.yml config.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Supersedes #126
Special notes for your reviewer:
Release note:

None

/approve
/lgtm


Offets.cs is outdated.

For anyone needed the new one
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-03 06:26:52.824504500 UTC
namespace CS2Dumper.Offsets {
// Module: client.dll
public static class ClientDll {
public const nint dwCSGOInput = 0x192A5B0;
public const nint dwEntityList = 0x18C1DB8;
public const nint dwGameEntitySystem = 0x19DF760;
public const nint dwGameEntitySystem_getHighestEntityIndex = 0x1510;
public const nint dwGameRules = 0x191EC70;
public const nint dwGlobalVars = 0x1729BA0;
public const nint dwGlowManager = 0x191F090;
public const nint dwLocalPlayerController = 0x1911578;
public const nint dwLocalPlayerPawn = 0x17361E8;
public const nint dwPlantedC4 = 0x1927A68;
public const nint dwPrediction = 0x17360B0;
public const nint dwSensitivity = 0x191F9B8;
public const nint dwSensitivity_sensitivity = 0x40;
public const nint dwViewAngles = 0x192F940;
public const nint dwViewMatrix = 0x19231B0;
public const nint dwViewRender = 0x19239B0;
}
// Module: engine2.dll
public static class Engine2Dll {
public const nint dwBuildNumber = 0x515564;
public const nint dwNetworkGameClient = 0x514AC8;
public const nint dwNetworkGameClient_deltaTick = 0x258;
public const nint dwNetworkGameClient_getLocalPlayer = 0xF0;
public const nint dwNetworkGameClient_getMaxClients = 0x250;
public const nint dwNetworkGameClient_signOnState = 0x240;
public const nint dwWindowHeight = 0x5CDD14;
public const nint dwWindowWidth = 0x5CDD10;
}
// Module: inputsystem.dll
public static class InputsystemDll {
public const nint dwInputSystem = 0x367A0;
}
// Module: matchmaking.dll
public static class MatchmakingDll {
public const nint dwGameTypes = 0x1D21E0;
public const nint dwGameTypes_mapName = 0x1D2300;
}
}

if u run the offsets getter tool rn all the sigs are diff @a2x  FIX

@a2x fux


dlv attach   in windows gives "Access is denied error"

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?
PS C:\Users**> dlv version
Delve Debugger
Version: 1.0.0
Build: $Id: c98a142125d0b17bb11ec0513bde346229b5f533 $

What version of Go are you using? (go version)?

PS C:\Users***> go version
go version go1.10.3 windows/amd64

What operating system and processor architecture are you using?
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.15063 N/A Build 15063
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          Windows User
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 69 Stepping 1 GenuineIntel ~2095 Mhz
What did you do?
PS C:\Users********> dlv.exe attach 9704
What did you expect to see?
debugging should have started
What did you see instead?
could not attach to pid 9704: Access is denied.
i got the PID from task manager and crosschecked it with ps -ef command in windows powershell

I think it just means what it says, you don't have the privileges necessary to debug the process you are trying to debug. Could be some kind of security software, could be just the permissions set on your user.

This can be closed. create a clean go environment. All good now.


[WIP] 319 make gravatar optional

This should fix #319 , #3291 and #1289.
Is not yet finished, but I would like to share the approach before working more on it.

Add a user preference to persist the avatar backend
Replace the current (CSS) default avatar with a .svg one static served.
Allow user to upload their own avatar and server by /media/

Notes:

Default to gravatar to be backward-compatible

TODO:

[ ] Make tests
[ ] Allow a setting string to prohibit the user of gravatar ¿?
[ ] Search or draw a best default .svg
[ ] Change the template tag in all places and remove gravatar_url
[ ] Remove not used css
[ ] Make upload another custom image remove the previous one uploaded by the user.
[ ] Docs

CURRENT PREVIEW:

As always, any feedback is  welcome!

This is looking really nice @chimeno! In between I already added some minor comments, so forgive me if it is a bit on the early side due to the [WIP].
One minor thing in addition to the screenshots you've posted.
Could we place radio options of the avatar back-end underneath each other?
That way it is more inline with overall styling and styleguide.
For eg, when selecting an image with a RichText field.

Thanks @jjanssen !
I've committed that minor changes.
Regarding the vertical align of radio buttons, that's something I also wanted, but I'm not yet figured out why it's not working because it uses the same code as the select_format template you've pointed. I'll investigate.
Also, yes, this is in early stage so I'm focusing in the general approach first.

Thanks @BertrandBordage for your comments.
At first I would like to have the general idea of the PR aproved (I guess for a core dev) before going into details, but yes I will change the style with the feedback.
Thanks!

Just here to mention I will continue to code this functionality over the next weeks, too busy until now :)

@chimeno I'm going to try to bring the code in this PR up-to-date and continue the wonderful work you've started here so that we can get this into 1.13.

@willbarton Please, do it. Unfortunately I don't have the spare time to finish this.

Superseded by #4062.


Create buessing.txt

Please add buessing.schule, the school website is as following: https://buessing.schule

@mariusangelmann Pull request merged. Thank you!