users: Send "update" events when deactivating or reactivating users.

We now send "realm_user/update" (and "realm_bot/update" for bots) events
with "is_active" field when deactivating and reactivating users, including bots.
We would want to use "remove" event for a user losing access to another user
for #10970, so it is better to use "update" event for deactivation as we only update
"is_active" field in the user objects and the clients still have the data for deactivated users.
Previously, we used to send "add" event for reactivation along with complete user
objects, but clients should have the data for deactivated users as well, so an "update"
event is enough like we do when deactivating users.
https://chat.zulip.org/#narrow/stream/378-api-design/topic/events.20for.20deactivated.20or.20vanished.20user

Screenshots

realm_user/update event with is_active field

realm_bot/update event with is_active field

deprecated remove event

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I did a few more edits to the API documentation and marked this to merge once CI passes. Thanks @sahil839!
diff --git a/api_docs/changelog.md b/api_docs/changelog.md
index 88607881de..0103e5c1c4 100644
--- a/api_docs/changelog.md
+++ b/api_docs/changelog.md
@@ -22,15 +22,15 @@ format used by the Zulip server that they are interacting with.

 **Feature level 222**

-* [`GET /events`](/api/get-events): The `realm_user` events for `op: "update"`
-  are now sent to clients when a user is deactivated or reactivated. `realm_user`
-  events with `op: "remove"` and `op: "add"` are no longer sent when deactivating
-  and reactivating a user respectively.
-
-* [`GET /events`](/api/get-events): The `realm_bot` events for `op: "update"`
-  are now sent to clients when a bot is deactivated or reactivated. `realm_bot`
-  events with `op: "remove"` and `op: "add"` are no longer sent when deactivating
-  and reactivating a user respectively.
+* [`GET /events`](/api/get-events): When a user is deactivated or
+  reactivated, the server uses `realm_user` events with `op: "update"`
+  updating the `is_active` field, instead of `realm_user` events with
+  `op: "remove"` and `op: "add"`, respectively.
+
+* [`GET /events`](/api/get-events): When a bot is deactivated or
+  reactivated, the server sends `realm_bot` events with `op: "update"`
+  updating the `is_active` field, instead of `realm_bot` events with
+  `op: "remove"` and `op: "add"`, respectively.

 **Feature level 221**

diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 95c4cb96c8..2b87427269 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -599,10 +599,11 @@ paths:
                                       description: |
                                         When a user is deactivated or reactivated.

-                                        **Changes**: New in Zulip 8.0 (feature level 222). Previously
-                                        we sent `realm_user` event with `op` field set to `remove`
-                                        when deactivating a user and `realm_user` event with `op`
-                                        field set to `add` when reactivating a user.
+                                        **Changes**: New in Zulip 8.0 (feature level
+                                        222). Previously the server sent a `realm_user` event with
+                                        `op` field set to `remove` when deactivating a user and a
+                                        `realm_user` event with `op` field set to `add` when
+                                        reactivating a user.
                                       properties:
                                         user_id:
                                           type: integer
@@ -1066,6 +1067,8 @@ paths:
                                 }
                             - type: object
                               description: |
+                                No longer sent by modern Zulip servers.
+
                                 **Changes**: Deprecated and no longer sent since Zulip 8.0 (feature level 222).

                                 Previously, this event was sent to all users in a Zulip organization when a

@timabbott I guess this is not marked for merging yet. Does this need any more changes?

Nope, I think the click just didn't go through, merged!


Copy C definition of data variables

add a right-click menu that copies the definition of the data variable as C source. Related to https://github.com/Vector35/binaryninja-api/issues/2124

There should also be a way to just to the bytes of the data variable


Task - Citations by source - small enchancements

[x] 1- Taxon name: add author, year and status. Status in parentheses (at lease basic, valid, invalid, protonym, combination)
[ ] 2- Make page number after the name in the Taxon Names table
[x] 3- For the source, show the list of authors
[x] 4- TaxonName, make clickable with a redirect to the browse page. May be two separate buttons to browse and edit
[x] 5- search taxon field: make longer, as long as source search field
[x] 6- from browse source, make a direct link to Citations by source
[x] 7- from Browse nomenclature, make a direct link to Citations by source
[ ] 8- add links to the New Taxon task and New combination task

@proceps some thoughts-
1 - The table is generic, it uses object_tag, so this is request would make us produce a new non-generic response.  We need to discuss possible ramifications.
2 - Disagree- all results should align, especially pages.  We discussed doing a global page sort in another possible view (pivoting titles to columns)
3 - Linked, or?  Aren't they in the citation?  What is purpose?
4 - See 1, we should do it, but it's a fairly major change to make it non-generic.
7 - You mean at the bottom of the list where citations are listed?
8 - Yes, but we should consider a generic navigation mechanism whereby related tasks are linked to automagically (we have something like this for data tabs)

most is already fixed


Add time-varying coefficient

This PR adds time-varying coefficient options to the DelayedSaturatedMMM class.
Description
Specifically the following model specification is now possible:
mmm = DelayedSaturatedMMM(
    date_column=my_date_column_name,
    channel_columns=my_media_column_names,
    time_varying_intercept=True,            # <-- These two args
    time_varying_media_effect=True,         # <-- are what's up
)

time_varying_intercept creates a time-varying prior on the intercept, while time_varying_media_effect creates a time-varying prior on the total media contribution (i.e. not individual columns, this will be added in a later PR).
🚨 For now let's get some reviews on this and agree what is a good way to add this functionality. Then we can add tests and docs later.
To make this easier to review, maybe start looking inside the mmm_tvp_example.ipynb, then check out tvp.py, and then go over the modifications in related filed I had to make to get the API changes to work.
Related Issue

[x] Related to #231 #415

Checklist

[ ] Checked that the pre-commit linting/style checks pass
[ ] Included tests that prove the fix is effective or that the new feature works
[X] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[x] MMM
[ ] CLV

Type of change

[x] New feature / enhancement
[ ] Bug fix
[ ] Documentation
[ ] Maintenance
[ ] Other (please specify):

📚 Documentation preview 📚: https://pymc-marketing--598.org.readthedocs.build/en/598/

resolved the conflict to see the status of the tests. @ulfaslak

Hey hey, amazing work! I made a few comments, but all are initial thoughts. I'll deep dive during the week 💪🏻

@ulfaslak could you please rebase from main as the tests are failing because https://github.com/pymc-labs/pymc-marketing/pull/615 🙏 ?

Hey, small comment here:
        time_varying_media_effect: bool = False,
        time_varying_intercept: bool = False,

This is a matter of taste but I think having two parameters for the same component is a bit strange. What do you think if we evaluate with strings or tuples?
time_varying = ('intercept', 'media') #or

time_varying = 'intercept-media'

I think it would be better inside for the API

Yep, that approach makes sense!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Juan Orduz @.>
Sent: Monday, April 8, 2024 8:54:18 AM
To: pymc-labs/pymc-marketing @.>
Cc: Niall Oulton @.>; Review requested @.>
Subject: Re: [pymc-labs/pymc-marketing] Add time-varying coefficient (PR #598)
@ulfaslakhttps://github.com/ulfaslak This feature is very exciting! As this PR was about collecting feedback, I have a proposal: Split this PR into two:

Time-varying intercept
Time-varying media (as in this PR)

The reason? to make The review process simpler and faster :)
For each PR, we should aim for:

Implementation with changes just on the scope of the PR.
Docstring
Tests
Example Nb

this way we can iterate fast as probably we wanna push this one out soon :) 🚀
—
Reply to this email directly, view it on GitHubhttps://github.com/pymc-labs/pymc-marketing/pull/598#issuecomment-2042092759, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5SZLZLQH2TTLVLRPAQ64B3Y4JEKVAVCNFSM6AAAAABE5QDY2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBSGA4TENZVHE.
You are receiving this because your review was requested.Message ID: @.***>

Following @juanitorduz mention, and perhaps to align with https://github.com/transferwise/airflow-marketing/pull/3563, if it's worthy.
We could create a models.components folder and a time.py file to save the file? This could help to add and save all code related to "time" dependencies.
What about if we treat this implementation as components as well? Similar to the PR attach, all time varying media or intercept happens in a class which then is added to the main model. This and the split between two PRs (media/intercept) could make everything very easy to debug, test and play. What everyone thinks? @wd60622 @ulfaslak

The main question from what i see is if we wanna provide all the priors and HSGP parameters configurable via model_config (Personally, i think we should)

@juanitorduz My personal opinion on it, is we should allow it.

Following @juanitorduz mention, and perhaps to align with #602 , if it's worthy.
We could create a models.components folder and a time.py file to save the implementation? This could help to add and save all code related to "time" dependencies.
What about if we treat this implementation as components as well? Similar to the PR attach, all time varying media or intercept happens in a class which then is added to the main model. This and the split between two PRs (media/intercept) could make everything very easy to debug, test and play. What everyone thinks? @wd60622 @ulfaslak

The more modular, the better!  Let's work on smaller PR so that we can iterate faster :)

@ulfaslak This feature is very exciting! As this PR was about collecting feedback, I have a proposal: Split this PR into two:

Time-varying intercept
Time-varying media (as in this PR)

The reason? to make The review process simpler and faster :)
For each PR, we should aim for:

Implementation with changes just on the scope of the PR.
Docstring
Tests
Example Nb

This way we can iterate fast, as probably we wanna push this one out soon :) 🚀
The main question from what i see is if we wanna provide all the priors and HSGP parameters configurable via model_config (Personally, i think we should)

I like this.
I will try to bang the first PR together then. Thanks for a lot of high-quality feedback 👌

@ulfaslak could you please rebase from main as the tests are failing because #615 🙏 ?

I will close this and make an new PR for intercept-tvp on a branch off of main.


Missing Config files

Having cloned the repository and attempted a build of the SharePointPnP.ProvisioningApp.sln, most of the projects are missing either the App.config or Web.config files.

Hi @RichardPriddy,
Thanks for the feedback. Actually, there are model config files in the projects. They are called Web-Model.config for web sites or App.Model.Config for webjobs. You should take them, configure and rename them as the official config files for your solution.

Hi @RichardPriddy ,
Were you able to get the solution up and running?


SLES distribution not recognized with the method distrib_id()

I've installed the last fabtools version. If I use the method "distrib_id" on a SLES 12 server (Suse Linux Enterprise), empty is returned. I've read the "system.py" file and I think a test should be added between line 72/73 in the distrib_id() method:
elif is_file('/etc/SuSE-release'):
return "SLES"

Thanks for your feedback!

I've submitted PR https://github.com/ronnix/fabtools/pull/286 which should handle this.


0.6.1 snapshot

after this is merged to master, we will create a SNAPSHOT and a RELEASE branch. Master will be merged into SNAPSHOT, we'll release the snapshot, and if it's stable we'll merge into RELEASE

LGTM


Fix to the docs

This PR proposes changes to the docs updated in https://github.com/IntelPython/DPEP/pull/24/commits.
Signed-off-by: Alexandra Epanchinzeva<EMAIL_ADDRESS>

Made respective changes in the separate branch


PrivateMethodTester cannot find methods if they're declared like def f: A => B = {...}

I have a method in an Object which is declared like this:
private def f: Int => Int = (a: Int) => a + 1

When I try to use invokePrivate my test will fail with this message: Can't find a private method named: f
The solution is simple though. If I declare the method like below everything works fine:
private def f(a: Int): Int = a + 1

I cannot think of the reason why the first declaration does not work for PrivateMethodTester. Does anyone have an idea?

This is actually quite logical if you consider how these two functions are represented by the JVM. Consider:
object Test {
  private def f: Int => Int = (a: Int) => a + 1
  private def g(a: Int): Int = a + 1
}

Now run javap -p Test$ in the target directory:
javap -p Test$
Compiled from "Test.scala"
public final class Test$ {
  public static final Test$ MODULE$;
  public static {};
  private scala.Function1<java.lang.Object, java.lang.Object> f();
  private int g(int);
  public static final int $anonfun$f$1(int);
  private Test$();
  private static java.lang.Object $deserializeLambda$(java.lang.invoke.SerializedLambda);
}

You can see that while g is (as you would expect) a method taking one argument and returning an integer, f is a method taking zero arguments and returning a Function1.
We can test both f and g using invokePrivate, but for f, we need a bit more syntax:
assert(Test.invokePrivate(PrivateMethod[Int => Int]('f)())(7) == 8)
assert(Test.invokePrivate(PrivateMethod[Int]('g)(7)) == 8)

I would say this issue may be closed.


Create operator to spin up EMR EKS cluster

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/emr-containers.html#EMRContainers.Client.create_virtual_cluster

This is merged in https://github.com/apache/airflow/pull/25816


get_serializer_class doesn't recreate same conditions as would be used by DRF

Where get_serializer_class() is used to determine which serializer would be used for a ModelViewSet, it doesn't re-create the same environment as DRF would use when servicing an actual API request, and so it may return different results (and thus incorrect documentation).
As an example, I have the following method, which uses a cut-down serializer for list actions, and a full-content serializer for retrieve actions:
class FooViewSet(viewsets.ReadOnlyModelViewSet):
    queryset = Foo.objects.all()

    def get_serializer_class(self):
        if hasattr(self, 'action'):
            if self.action == 'list':
                return FooListSerializer
            elif self.action == 'retrieve':
                return FooSerializer

        return serializers.Default

drfdocs doesn't currently set the self.action member before calling get_serializer_class(), so it gets the default serializer with no fields, whereas an actual API request would get either the FooSerializer or the FooListSerializer.

+1 to this I am not able to use versioned docs properly api thanks to this

I've just tried this using 3.8.2 and action is set properly on the ViewSet during generation of the documentation, allowing the documentation to examine the right serializer. This may have been fixed?


Fix report deprecation

The conversion of deprecation messages to reports was broken on Python3 because haslib.sha256 requires byte string instead of Unicode (missing .encode(utf-8)). Added couple of tests to cover this part of code.

Can one of the admins verify this patch?

Tested, reproduced, the fix works. LGTM.


There should be an animation for hover on app icon/items

Currently it's not very obvious that clicking on the app icon will take you somewhere else compared to the "Install" button.

@neynah seems reasonable to me. What should it do instead?

FWIW, a mockup would be very helpful to help me address this.
Assigning to @neynah to indicate I can't make progress without input.

Not sure why I said "animation" but what I really mean is hover. Hover colour is a subtle #f7f3fa.

@neynah I was not able to get that 1-2px top white, but I am able to get you that background hover color. Since I got your verbal approval, I'm going to ship it with the background hover color and no top white part.


Regex any (.*) matching exact intent at any step (exact sentence in the OIML).

Indeed since anything is matching, the intents are screwed throughout the graph. The intents are not detected because of precedence of (.*)
The behaviour as of now is that the chatbot is recognizing only the exact match of the sentence in the OIML.
A fix could be to prioritize the exact words before the regexp.
With this solution, the regexp will match at any step. Could induce weird behaviour. We need to think about it seriously.

I had this issue again while I wanted to match the whole line in one intent and email in another one. I propose to add the ability to use entity names in the OIML script so that the intent is fully explicit. For example, if my entity is @email, I would like to use @email in the script to match an email address. That way, there cannot be any ambiguity.


Make sure new videos will include timestamps

The YouTube channel needs more care, but essentially your love :D
Updating the existing content would be really helpful for everyone since only small portion of people is able to be present in live streams. This is also important about ease of use of the content and makes it more understandable. Thus, people know where to look at better and it becomes easier to keep track of the content when we come to see next time.

We started doing it through a new repository here
Open to any suggestions and help


Add a user interface for working time translation into hours

We use the script working_time.py to translate a description of available working times into a set of hours that can be used in constraints. There should be a user interface to make this translation, either inside the Team Assignment UI or as a separate UI.

Fixed in v1.1.0.


Comment on the getting started section of the project website - add HTML example like this.

Hi,
may I suggest to add a simple HTML example to the getting started page at
https://litepicker.com/#getting-started.
At the moment the page doesn't mention that that need to call the picker.show()
to see it. This makes it hard for JavaScript noobs (like myself) to get started and
to see a working example in their browser.
An example that would have helped me a lot would look like this:
`
<!DOCTYPE html>

`

I agree, thanks for commenting it here!


enhance Add timeout config for s3 buffer allocation

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

#26125


tests: implement mocking

This is a WIP
The mocked_models fixture mocks generate_text_func using mocker.patch.object, returning dummy results.
The objective is to mocking both caikit-nlp's text generation modules:

caikit_nlp/modules/text_generation/text_generation_local.py)
TextGenerationTgis (caikit_nlp/modules/text_generation/text_generation_tgis.py)

For TextGenerationTGIS, it seems these are the two targets that should be mocked:

caikit_nlp.modules.text_generation.text_generation_tgis.TextGenerationTGIS.tgis_generation_client.stream_generate
caikit_nlp.modules.text_generation.text_generation_tgis.TextGenerationTGIS.tgis_generation_client.unary_generate

This is looking promising, we should also add the caikit_nlp.* module to the exclusion list for the linter.


missing python scripts for OpenReview export

Your README mentions two python scripts for OpenReview exports: or2papers.py and or2program_committee.py. However, I couldn't find them in this repository.
Could you please indicate where they are?

@rswilkens can you add them when ready?
Thanks!

Closing, as Rodrigo has added these already https://github.com/rycolab/aclpub2/tree/main/openreview

Both scripts give this:
Traceback (most recent call last):
  File "or2program_committee.py", line 15, in <module>
    from util import *
ModuleNotFoundError: No module named 'util'

The problem should be solved.
@Shimorina : can you kindly confirm it?

Thank you, it works now!
However, in both files this line
acl_name = 'aclweb.org/ACL/2022/Conference' if len(sys.argv)>3 else sys.argv[3]
should be replaced with, for example,
acl_name = 'aclweb.org/ACL/2022/Conference' if len(sys.argv) > 4 else sys.argv[3]
Otherwise, the scripts never take the fourth argument with the workshop name and default to the ACL conference, and nothing is extracted.
When replaced, the extraction works correctly :)

It should be solved now.
I replaced ">" by "<=".

Thanks @rswilkens !
@Shimorina : does it work for you?

yes, it should be working. However, new updates are only in the openreview branch, not on master :)

Merged!


Adding a margin Top attribute

marginTop (default: 0)
Sticky state will be triggered as usual only it will keap a margin from the top with the inputted value.
app.js
<StickyContainer>
 ...
 <Sticky marginTop={80}>
   { props => (...) }
 </Sticky>
 ...
</StickyContainer>

The above would result in an element that becomes sticky once its top is greater than or equal to 0px but it will scroll away from the top of the <StickyContainer /> by 80px.

Hm how does this differ from topOffset?

the topOffset delays the event triggering by an offset of (x px) whereas the marginTop attributes don't delay the event triggering but keep the sticky object at an (x px) distance from the top.
this is the behavior obtained by the topOffset attribute:

and this is the behavior obtained by the marginTop attribute:

Thanks for asking

Hm when is this desirable behavior? This looks to me like it would make the content snap into place, jumping the size of the offset. Usually in my experience that's something to be avoided.

Well, this behavior is desired when you have a sticky navbar on top just like the shown example and no the changes were made to the code so it does not snap you can check out on this page as long -as it's online that is-

I don't see any top margin on that page, and I see a number of scrolling bugs. I'm still not really sure what the intent here is, could you please add some code sandbox demos of what you can't accomplish? I'm going to close this but am happy to reopen if you can provide that information.

Need this as well.


Improve TemporalNullValueSection

Codecov Report
Attention: Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.

Project coverage is 99.86%. Comparing base (35d5e81) to head (e631777).

Files
Patch %
Lines

src/flamme/analyzer/null_temp.py
33.33%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #522      +/-   ##
==========================================
- Coverage   99.91%   99.86%   -0.05%
==========================================
  Files          79       79
  Lines        2243     2251       +8
  Branches      221      221
==========================================
+ Hits         2241     2248       +7
- Misses          0        1       +1
  Partials        2        2

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


Should close filter overlay on clickout

When the user clicks on the shadowed overlay, it should perform a cancel.

@joelewing do you think it should cancel (disregarding any changes they made), apply the current selected value, or save their selected but not apply it so if they reopen the filter it is still selected but not applied

I am leaning towards cancel but want to see if you agree

I am going to merge it in with cancel for the time being. @joelewing let me know if you think we should change it.

Yes, I think it should be the same as cancel as long as the apply option is visible enough. I could maybe do some usability testing at some point to see if it makes sense to other people. But for now, I agree!

Awesome! I will close this issue then


refactoring global variables and functions

In an early step, i propose to refactor and use more a class/method architecture rather than functions.
Also, i would refrain to use any global variable, without exception.
The library simple-settings is useful to ship a bunch of variables between the scripts, though limited to a single thread (but it's very certainly ok here).

Agree, a refactor makes sense the current state is WorkInProgress to see if we are able to run it on GH and get an estimate of the transfer rate. keep in mind that the code should be understandable as well for  rookies /noobs.


APT whitelist request for libqt5webkit5-dev

Ran tests and found setuid bits. See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72285058.

False positiive, there's a getter & setter to check if setuid is allowed. Also it's confusing it with Set UI Delegate


Generator is trash

works ok-tier when gems >= 5

I know how to treat this problem. Works with n_gem >= 4.
It's not the best algo because ideal albo will be able to make reasonable entropy with n_gem >= 3 but still.
EDIT: See at the conclusion. Might be optimised for n_gem >= 3 as well.
The idea is that given a certain grid, we generate half of the cell purely randomly like this:
    x 1 x 2 x 0 x 3
    1 x 0 x 3 x 1 x
    x 2 x 1 x 2 x 0
    3 x 1 x 3 x 0 x

Then the idea is to generate a second grid that is the "used grid". For now the grid is all 0:
    0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0

Let's take the cell in (x, y) = (5, 1):
    . 0 .         . 0 .
    3 x 1    /    0 0 0
    . 2 .         . 0 .

We will generate a random number in the interested range, here we will chose 2:
The we will update the usage grid.
    . 0 .         . 0 .
    3 2 1    /    0 1 0
    . 2 .         . 1 .

Notice that the 2 at the bottom (5, 2) has turned into a 1 in the usage matrix because it is adjacent to another cell with the same number
Now we will see the case of (6, 2):
    . 1 .       . 0 .
    2 x 0   /   1 0 0
    . 0 .       . 0 .

When generating a random number, we have once again a 2. Now let's look at this array: [2].
This array has been generated by filtering every 4 adjacent cell's values by if they are used or not.
Because the 2 is already in the array, we are going to use another number: 0. As 0 is not in the extracted array,  we know this is a valid choice.
Let's update both matrix. Here is the extract:
    . 1 .       . 0 .
    2 0 0   /   1 1 1
    . 0 .       . 1 .

Note: here we chose the number then compare it to the adjacence array. In reality we take the opposite array (opposite of [2] would be [0, 1, 3]), then taking a random number into this array by generating a random index. This dodges a loop of test.
This algorithm is robust because in the example we covered, we chose random cells but in the real implementation, in reality we start from a corner then start to develop everything from this. Thus, in the worse case scenario, only two items are in the adjacence array, thus letting always an element (for n_gem = 3) or more.
Note: I need to think a bit more to assure that it works robustly for n_gem = 3.

Works for 3 lol

Fixed by #42


🐞[QAnet] [Bug]: Grace period contracts are showing zero locked tfts with no billing rate because its on a dedicated machine while it was never on a dedicated node

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard
What happened?
Grace period contracts are showing This contract is in a grace period because it's on a dedicated machine also in a grace period. That's why this node is locked with zero TFTS and no billing rate. while I never rented a node or deployed any of my contracts on a dedicated machine!
Steps To Reproduce
No response
which network/s did you face the problem on?
Dev
version
4829e02
Twin ID/s
8823
Node ID/s
1, 4416
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

node_contracts.json
name_contracts.json
Relevant log output
This contract is in a grace period because it's on a dedicated machine also in a grace period. That's why this node is locked with zero TFTS and no billing rate.

related to tfchain locked amount calculation being broken #3340

Verified, Qanet 2.6.0-rc3.
The message now is more clearer and correct.

TC2618 - Grace period locked TFT amount


For issue #310: Change URL for port 8080

Description
For issue #310, I've changed the URL for port 8080 in line 52 in README.md.
How Has This Been Tested?

NA
Screenshots (if appropriate):
NA
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thank you @yichiehc !


CURFOLLOWER not changing sometime when pet lost

CURFOLLOWER not changing sometime when pet lost
for example cast energy vortex and go away
sometime curfollower not changed when vortex was destroyed
looks like it work fine for DEATH trigger, but DESTROY trigger have a problem

some time it can happen with mount, if you died and it was killed

I need the steps to reproduce it


Print encouragements

We could implement a feature, where we print an encouragement to the user every day when they click the "1 more day button". Encouragements could be stuff like "Nice job!", or "Keep on learning", etc. or they could my motivational quotes, or something else nice.
Encouragements could either be displayed as pop-up window, or just as a Tkinter text element above or below the prog-o-meter
Suggestion: Look at the current file, to see how text is displayed on a Tkinter canvas. To change encouragement each day, we can either have a set sequence (i.e. certain text to display on day one, two, three, etc.), or we can just have a collection of the texts/quotes we want to display, and randomly select one each time the "1 more day!" button is clicked

Hello, can i solve this issue?

@lineaba sure, thanks a ton.


python311Packages.dask: 2024.6.0 -> 2024.6.1

Description of changes
Changelog: https://github.com/dask/dask/releases/tag/2024.6.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

The hash for the source of dask-expr seems to be wrong:
error: hash mismatch in fixed-output derivation '/nix/store/ldjw9r9yh73p47qvbzyzzniwadhyfzsc-source.drv':
         specified: sha256-ON2Fyyq5fa0TgS28v6FAbR6MpI1k8EOS8HWchfZyT+g=
            got:    sha256-rmyZjtbUGwqgPWN2H/RmjJ7StMr/7ZrHjz3YRn9VHRk=

This causes dask-expr to fail on master.

Thanks for catching this. Fixed in #322339.


TCP Connection Limit missing

Been looking everywhere for TCP connection limit numbers and the only one I've found is for Windows 10 Pro with 20 connections (from a forum post's multiple replies).  After using Server 2019 Standard, I've notice the same indications of this limitation, but would very much like to confirm with official documentation.  Does this information no longer exist?

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

ID: 6e477d8d-7469-cd57-29a9-13135b164311
Version Independent ID: 73fb5866-3a3e-8cde-f39f-c2677de6d326
Content: Comparison of Standard and Datacenter editions Windows Server 2019
Content Source: WindowsServerDocs/get-started/editions-comparison-windows-server-2019.md
Product: windows-server
Technology: getting-started
GitHub Login: @JasonGerend
Microsoft Alias: alalve

Hey dhenson02,
Thanks again for contacting Microsoft. We value your feedback.
TCP connection limit is not an item to be included into this page. There are some parameters and factors that can influence the maximum number of TCP connections that Windows Server can support, such as:

TcpNumConnections - a registry value that limits the maximum number of connections that TCP may have open simultaneously. Default value of this parameter is 16,777,214 (0x00fffffe), which is quite generous and unlikely to be reached.
Maximum Transmission Unit (MTU) - the maximum size of a packet that can be transmitted over a network without fragmentation which depends on the lower layers of the network (Ethernet) which have their own limitations.
TCP congestion control - the mechanism that adjusts the rate of data transmission based on the network conditions, such as bandwidth, latency, and packet loss. TCP congestion control aims to avoid overloading the network and causing congestion collapse.

To learn more about the modifying registry settings for TCP, please see https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcpip-and-nbt-configuration-parameters (these also relates to current versions).
If you're experiencing a TCP connection issue, that is outside our scope to assist, we kindly ask that you use one of the following:

Open a ticket with Microsoft Support.
Search or engage with Microsoft TechNet.
Search or engage with the Microsoft Developer Network.
Search or engage with the Microsoft Support Community.

Hopefully a community expert can provide additional support.

#please-close


Fix slider bug

Description
Fix slider bug caused by fluentui upgrade.
onChanged has a bug which resulted in not getting updated value. OnChange works as expected.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1526 (561bcbd) into main (94dd072) will decrease coverage by 11.69%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1526       +/-   ##
===========================================
- Coverage   87.27%   75.58%   -11.70%
===========================================
  Files         108       10       -98
  Lines        5108      258     -4850
===========================================
- Hits         4458      195     -4263
+ Misses        650       63      -587

Flag
Coverage Δ

unittests
75.58% <ø> (-11.70%)
:arrow_down:

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

Impacted Files
Coverage Δ

responsibleai/responsibleai/_tools/__init__.py

responsibleai/responsibleai/_internal/constants.py

...i/responsibleai/managers/error_analysis_manager.py

raiwidgets/raiwidgets/__version__.py

erroranalysis/erroranalysis/_internal/metrics.py

...leai/responsibleai/databalanceanalysis/__init__.py

raiutils/raiutils/dataset/dataset.py

raiutils/raiutils/models/__init__.py

...sponsibleai/responsibleai/rai_insights/__init__.py

responsibleai/responsibleai/exceptions.py

... and 88 more

Continue to review full report at Codecov.

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

Is it possible to write a test case that uses the slider to make sure we don't have future regressions?

Is it possible to write a test case that uses the slider to make sure we don't have future regressions?
Good idea, I will add in coming PR. Will merge this as all gated have passed.


Corrections to image file handling:

Handle cases where RGBA is not supported by PIL
Set width and height of images to integer

@cybertoast thank you for your contribution!
About RGBA this is not the only place where we use RGBA. Probably we need to make some check/guessing if PIL is compiled with RGBA support or not and to prefer RGBA when available. Or if there are cases where RGBA is not needed even if available to not use it but to use the mod of original image.
About width and height that must be integer currently this is responsibility of the caller (instantiator) of the processor (for all processors). If we change that logic, we need to change it for all processors and not only for ResizeCanvas.
Also the way that you are setting it is not good. If we want to change self.width, and self.height we need to make it in the __init__, instead of doing it in process. If we want to preserve original (float) value then rounding and make it integer need to be done in the process method but the values should not be set in self.
This logic should be changed for all processors or there will be inconsistency which can confuse users.
Currently I'm kind of against these changes because:

Missing 'RGBA' means no PNGs which I doubt that someone will want in production. Also in my opinion this is undesirable consequence instead of desired one and PIL/Pillow just need to be recompiled with the needed libraries installed.
In all cases where we calculate width and height we convert it to int. In all other cases caller should know that PIL/Pillow works only with ints and converting it in pilkit everytime is kind of waste.

Still if you give me some arguments why this is needed I can reconsider my decision.

Thanks much for your response. Totally valid points and in thinking through
my implementation further I agree that your are correct. I'll rescind my
pull request.
On Dec 4, 2017 3:37 AM, "Venelin Stoykov"<EMAIL_ADDRESS>wrote:

@cybertoast https://github.com/cybertoast thank you for your
contribution!
About RGBA this is not the only place where we use RGBA. Probably we need
to make some check/guessing if PIL is compiled with RGBA support or not
and to prefer RGBA when available. Or if there are cases where RGBA is
not needed even if available to not use it but to use the mod of original
image.
About width and height that must be integer currently this is
responsibility of the caller (instantiator) of the processor (for all
processors). If we change that logic, we need to change it for all
processors and not only for ResizeCanvas.
Also the way that you are setting it is not good. If we want to change
self.width, and self.height we need to make it in the init, instead
of doing it in process. If we want to preserve original (float) value
then rounding and make it integer need to be done in the process method
but the values should not be set in self.
This logic should be changed for all processors or there will be
inconsistency which can confuse users.
Currently I'm kind of against these changes because:

Missing 'RGBA' means no PNGs which I doubt that someone will want
in production. Also in my opinion this is undesirable consequence instead
of desired one and PIL/Pillow just need to be recompiled with the needed
libraries installed.
In all cases where we calculate width and height we convert it to
int. In all other cases caller should know that PIL/Pillow works only
with ints and converting it in pilkit everytime is kind of waste.

Still if you give me some arguments why this is needed I can reconsider my
decision.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/matthewwithanm/pilkit/pull/29#issuecomment-348894521,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABBOmjLfma5Ofq8AGI0mgrrgbpuR9mMks5s869bgaJpZM4Qz8UB
.


Bug fix in remove panel.

Thanks you, good catch!

Will it be available in npm install??
Regards,
Subramaniam
On Wed, Feb 20, 2019 at 1:27 AM +0530, "Norwin"<EMAIL_ADDRESS>wrote:
Merged #32 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, I just released v3.0.7

Even min.js is updated rite?
Because that I didn't changed
Regards,
Subramaniam
On Wed, Feb 20, 2019 at 1:54 AM +0530, "Norwin"<EMAIL_ADDRESS>wrote:
Yes, I just released v3.0.7
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sure ;)

Thank you.
Regards,
Subramaniam
On Wed, Feb 20, 2019 at 1:57 AM +0530, "Norwin"<EMAIL_ADDRESS>wrote:
Sure ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Introduce transaction_id policy

What
This PR partially support https://issues.redhat.com/browse/THREESCALE-10973. Specially it satisfy the following 2 requirements from the FAPI - baseline profile

shall set the response header x-fapi-interaction-id to the value received from the corresponding FAPI client request header or to a RFC4122 UUID value if the request header was not provided to track the interaction, e.g., x-fapi-interaction-id: c770aef3-6784-41f7-8e0e-ff5f97bddb3a;
shall log the value of x-fapi-interaction-id in the log entry; and

Why making a new policy and not extend the current Header Modification policy
We can easily extend the current Header Policy and add uuid filter and new option to generate the header in response if it does not exist in request. However, in my opinion this would complicate the logic of the Title Modification policy. For example, If the user sets the include_in_response checkbox while also setting a header in the Response field, and upstream also returns the same header, which header takes precedence?
Also the benefit of having separate policy so we can later extend the support algorithm if need (currently only uuidv4 is supported)
Answer to questions from https://issues.redhat.com/browse/THREESCALE-6577

what if an "XXXXX" (to be defined ID header) is already assigned to the incoming request (e.g. by ingress, or LB or somewhere previously) should that be used instead?

The policy won't modify the header if it exist

Should that be logged by apicast
Is there any interaction with logging policy?

Yes, user should be able to log the header with Logging policy

What if there are multiple apicasts behind an LB, then they can't just use a counter to ensure uniqueness and an apicast GUID would be required.

We use UUID to the change of collision is fairly small

Do this, even if OpenTracing is being used?

I don't have answer to this but I think it's still useful to have this policy as not everyone use OpenTracing.
Verification steps:

Create an apicast-config.json file with the following content

cat <<EOF >apicast-config.json
{
  "services": [
    {
      "backend_version": "1",
      "id": "1",
      "proxy": {
        "hosts": [
          "one"
        ],
        "api_backend": "https://echo-api.3scale.net:443",
        "authentication_method": "2",
        "backend": {
          "endpoint": "http://<IP_ADDRESS>:8081",
          "host": "backend"
        },
        "policy_chain": [
          {
            "name": "apicast.policy.transaction_id",
            "configuration": {
              "header_name": "X-Transaction-ID",
              "include_in_response": true
            }
          },
          {
            "name": "apicast.policy.apicast"
          },
          {
            "name": "apicast.policy.logging",
            "configuration": {
              "enable_access_logs": false,
              "custom_logging": "\"{{request}}\" to service {{service.id}} and {{service.name}} with ID {{req.headers.x_transaction_id}} - response: {{resp.headers.x_transaction_id}}"
            }
          }
        ],
        "proxy_rules": [
          {
            "http_method": "GET",
            "pattern": "/",
            "metric_system_name": "hits",
            "delta": 1,
            "parameters": [],
            "querystring_parameters": {}
          }
        ]
      }
    }
  ]
}
EOF

Checkout this branch and start dev environment

make development
make dependencies

Run apicast locally

THREESCALE_DEPLOYMENT_ENV=staging APICAST_LOG_LEVEL=warn APICAST_WORKER=1 APICAST_CONFIGURATION_LOADER=lazy APICAST_CONFIGURATION_CACHE=0 THREESCALE_CONFIG_FILE=apicast-config.json ./bin/apicast

Capture apicast IP

APICAST_IP=$(docker inspect apicast_build_0-development-1 | yq e -P '.[0].NetworkSettings.Networks.apicast_build_0_default.IPAddress' -)

Send a request

curl -i -k -H "Host: one" "http://${APICAST_IP}:8080/test?user_key="

Check the log for the following line
"GET /test?user_key= HTTP/1.1" to service 1 and  with ID 8806c18d-c71d-4306-8eb3-43a8b538b31a - response: 8806c18d-c71d-4306-8eb3-43a8b538b31a

The response header should also contain the X-Transaction-ID header
HTTP/1.1 200 OK
Server: openresty
Date: Wed, 01 May 2024 08:47:39 GMT
Content-Type: application/json
Content-Length: 642
Connection: keep-alive
x-3scale-echo-api: echo-api/1.0.3
vary: Origin
x-content-type-options: nosniff
x-envoy-upstream-service-time: 0
X-Transaction-ID: 8806c18d-c71d-4306-8eb3-43a8b538b31a

I recommend rebasing this and test this with the new openresty <IP_ADDRESS>

Close in favor of #1465


Enable isort-style required-imports enforcement

In isort, this is called add-imports, but I prefer the declarative name.
The idea is that by adding the following to your pyproject.toml, you can ensure that the import is included in all files:
[tool.ruff.isort]
required-imports = ["from __future__ import annotations"]

I mostly reverse-engineered isort's logic for making decisions, though I made some slight tweaks that I think are preferable. A few comments:

Like isort, we don't enforce this on empty files (like empty __init__.py).
Like isort, we require that the import is at the top-level.
isort will skip any docstrings, and any comments on the first three lines (I think, based on testing). Ruff places the import after the last docstring or comment in the file preamble (that is: after the last docstring or comment that comes before the first non-docstring and non-comment).

Resolves #1700.

Two more things here: (1) support straight imports (import os, as opposed to from os import ...), and (2) add tests.

Amazing timing @charliermarsh - I just went looking for this for Airflow


Bump Boxen gem for 10.11

In theory, if you have this and boxen/boxen-web@9f9ff259 or higher, you should be good to go with El Capitan.

:shipit:

:ship:

:+1:

just spent an entire day on this issue.
was solved by applying these changes.
please merge this commit ASAP so that everyone can enjoy the wonder of boxen on El Capitan ;)

+1


local build not rendering properly

I've tried running a local build of the asciidocsy theme via a docker image running ruby v2.6 & bundler v2.1.15, but can't seem to get it to properly render. (see option 1 on https://github.com/capsulecorplab/asciidoctor-extended/pull/3#issuecomment-879817927)

Otherwise, the local Jekyll server seems to work fine

Sean from what I can see you have not modified the baseurl property in _config.yml, though I thought you said you had? I'm looking at https://github.com/capsulecorplab/asciidocsy-jekyll-theme/blob/main/_config.yml -- I would expect to see baseurl: asciidocsy-jekyll-theme in the build, so the browser will know where to find assets.
I am able to reproduce and fix this locally as such, but it for some reasons requires a trailing slash on the base URL. I have sniffed around a little and not discovered a way to address this issue without controling your webserver (as you obviously don't with GH Pages).
I think this doesn't really resolve your main problem, though, which is that you want to skip the landing page. Unfortunately, the AsciiDocsy Docs/Demo site itself has URLs hard-coded all over the place that use the domain-root reference /some/path -- all the permalinks are written that way, so the docs site itself won't serve the way you want it to unless you rewrite those.
That said, if you make your own site with your own permalinks and xrefs, this will still work. You just have to include your baseurl in your paths.

@briandominick Just pushed a commit with the baseurl set to asciidocsy-jekyll-theme, but it's still having issues properly rendering the page

I don't mind dealing with a landing page for now, just not sure how to debug this rendering issue.

Sorry I forgot to tell you to prepend the slash:
baseurl: /asciidocsy-jekyll-theme

@briandominick that did the trick! https://capsulecorplab.github.io/asciidocsy-jekyll-theme/

Closing issue, since I'd consider this resolved!

I spoke too soon. Some of the links and assets aren't recognizing the baseurl, s.a, the Documentation link

Yeah like I said those links are hard coded. The demo site is only supposed to serve at a domain root, but you can write your links differently.
Which assets are still broken. Images inside content?

I haven't checked every page, but here are a few of the assets that were missing

How should one go about writing the links differently, such that the baseurl becomes part of the links?

To resolve this you'd need to edit the value of site.asciidoctor.attributes.imagesdir and site.asciidoctor.attributes.includedir in the _config.yml file.
For links, I guess you'd need to replace every instance of <</some/path,...>> with <</asciidocsy-jekyll-theme/some/path,...>>. These (xrefs) are a pretty significant limit, but I have ways of making them far more powerful (see #66).
The manifest.yml file is the other place these are defined. I think this issue is the same across SSGs, including all AsciiDoc SSGs, as we don't have docinfo for all the other pages at the time of build. My framework coming out later this year addresses this, but for now, and as the lowest common denominator for this theme, I am relying on static xrefs and menus driven by static data.


Update troubleshooting headers from h1s to h3s

Update stylesheet and content for the orange troubleshooting headers from H1s (typically used once on a page, for page title) to H3s.


To avoid syncing deleted applications (#90)

To avoid syncing deleted applications

prettier

format using prettier

formats using prettier

Fix for GRANT-470 - updating the BCAT back-end portal to filter out deleted applications.


Demo Dictionary to add a CSS Style via a W3C Web Publication Manifest

Demo Dictionary :
Available at https://github.com/petermr/semanticClimate/blob/main/test_dictionary.html
This is a small dictionary of 6 words enhanced with Wikipedia information and figures.

Thanks
On Mon, Oct 28, 2024 at 11:10 AM Renu @.***> wrote:

Demo Dictionary :
Available at
https://github.com/petermr/semanticClimate/blob/main/test_dictionary.html
This is a small dictionary of 6 words enhanced with Wikipedia information
and figures.
—
Reply to this email directly, view it on GitHub
https://github.com/petermr/amilib/issues/31, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTCS3QXNIFHOMPZWQARRDZ5YLQXAVCNFSM6AAAAABQXFEAQCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTQMBZHAZDEMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK

Great thanks

I'll look at making a style for this document and others. I should be able setup a web interface and commline interface where HTML URLs can be added to a Manifest to be rendered as and when people need them.
Here is are the Wikidata terms from above in the old CSS theme, not really working yet. https://vivliostyle.org/viewer/#src=https://raw.githubusercontent.com/petermr/semanticClimate/refs/heads/main/test_dictionary.html&style=https://github.com/TIBHannover/report-style/blob/main/uhtml/css/appaloosa.css&spread=true


Release Google.Cloud.BigQuery.Connection.V1 version 1.0.0-beta01

Changes in this release:
Initial beta release.

Created release for Google.Cloud.BigQuery.Connection.V1-1.0.0-beta01


secure_network_chart.svg - outdated?

Is this file outdated? If so can we get it updated? I believe the documentation indicates that we are no longer using sentries.

Correct. Sentries are no longer used. Removed: https://github.com/w3f/polkadot-validator-setup/commit/4bad9702e9484c2cecd3d9e2d080e1d5f4933437


how to use instructions into readme

https://skyfeed.app

:) I'm actually hoping to add an instructional website to https://furryli.st - I just need to find the energy to write some HTML :3

github pages is very convenient

https://furryli.st/


fix jwt auth for connected orgs

cci needs an OrgConfig with a username set in order to complete JWT auth for a connected org. (And for other things, but that's what revealed that it's missing.) This is a fairly recent regression from the work on the scratch org feature, and hasn't affected production because we haven't set SFDX_HUB_KEY there yet, so cci is still using the refresh token flow there.

@davisagli We're using OrgConfig in two places in Metecho; I'm guessing not, but want to be sure this fix doesn't need to be applied there too?

https://github.com/oddbird/Metecho/blob/main/metecho/api/sf_run_flow.py#L99
https://github.com/oddbird/Metecho/blob/main/metecho/api/sf_run_flow.py#L117

@davisagli We're using OrgConfig in two places in Metecho; I'm guessing not, but want to be sure this fix doesn't need to be applied there too?

https://github.com/oddbird/Metecho/blob/main/metecho/api/sf_run_flow.py#L99
https://github.com/oddbird/Metecho/blob/main/metecho/api/sf_run_flow.py#L117

@jgerigmeyer since auth in Metecho is working, username is presumably already in the config dict there.

@jgerigmeyer since auth in Metecho is working, username is presumably already in the config dict there.


Toolbar improvement.

This patch has 2 new features:
1- new option at constructor to enable creation of detached toolbar from his parent, this enable the use of toolbar anywhere and the size can be controlled by a layout manager.
2- add a new option in order to enable to place buttons at right part, the widget has a new method go_right() after calling it, every new button is right aligned.
Both changes don't break compatibility with old code.
I attach an example in order to appreciate this change.

upps...
Hi @kmribti,
your screenshot look really very good.
It seems that already have matured the possibility to together build a super widget tree_list or tree_explorer composed by:
menu bar (optional)
toolbar (optional)
categorice (optional)
tree (optionally with more than one base node)
list
item view (optional, in your case a textbox, bot in general a group) with an optional navigator tool (!)
status_line (optional)
You have this. Jinhao have the filebox for linux and @k1988 me have adapted as independent file explorer. I used also one more variant in my soft.

Ok, nice to hear this, all my work on nana is related to an online IMAP client to be used in conjunction with webmail in order to backup, transfer emails ...etc.

What about this pull request, is there anything wrong?

No, thank you for your PR.


Identity Digital DPML Brand Protection. whois error

Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from python_whois import whois
>>> d = whois.query("gpt.domains",verbose = True, include_raw_whois_text=True)
['gpt', 'domains']
we have domains
filterTldToSupportedPattern returns tld: domains
domains ['gpt', 'domains']
using _server hint whois.donuts.co for tld: domains
force = False
['whois', 'gpt.domains', '-h', 'whois.donuts.co']
The registration of this domain is restricted, as it is protected by the Identity Digital DPML Brand Protection policy. Additional information can be found at https://www.identity.digital/what-we-do/brand-protection.
>>> Last update of WHOIS database: 2023-02-01T02:49:24Z <<<

Terms of Use: Identity Digital Inc. provides this Whois service for information purposes, and to assist persons in obtaining information about or related to a domain name registration record. Identity Digital does not guarantee its accuracy. Users accessing the Identity Digital Whois service agree to use the data only for lawful purposes, and under no circumstances may this data be used to: a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the registrar's own existing customers and b) enable high volume, automated, electronic processes that send queries or data to the systems of Identity Digital or any ICANN-accredited registrar, except as reasonably necessary to register domain names or modify existing registrations. When using the Identity Digital Whois service, please consider the following: The Whois service is not a replacement for standard EPP commands to the SRS service. Whois is not considered authoritative for registered domain objects. The Whois service may be scheduled for downtime during production or OT&E maintenance periods. Queries to the Whois services are throttled. If too many queries are received from a single IP address within a specified time, the service will begin to reject further queries for a period of time to prevent disruption of Whois service access. Abuse of the Whois system through data mining is mitigated by detecting and limiting bulk query access from single sources. Where applicable, the presence of a [Non-Public Data] tag indicates that such data is not made publicly available due to applicable data privacy laws or requirements. Should you wish to contact the registrant, please refer to the Whois records available through the registrar URL listed above. Access to non-public data may be provided, upon request, where it can be reasonably confirmed that the requester holds a specific legitimate interest and a
proper legal basis for accessing the withheld data. Access to this data can be requested by submitting a request via the form found at https://www.identity.digital/about/policies/whois-layered-access/ Identity Digital Inc. reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.

line count < 5:: domains gpt.domains The registration of this domain is restricted, as it is protected by the Identity Digital DPML Brand Protection policy. Additional information can be found at https://www.identity.digital/what-we-do/brand-protection.
>>> Last update of WHOIS database: 2023-02-01T02:49:24Z <<<

proper legal basis for accessing the withheld data. Access to this data can be requested by submitting a request via the form found at https://www.identity.digital/about/policies/whois-layered-access/ Identity Digital Inc. reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/code/whois/python_whois/whois/__init__.py", line 279, in query
    data = do_parse(
  File "/home/ubuntu/code/whois/python_whois/whois/_2_parse.py", line 227, in do_parse
    return handleShortResponse(tld, dl, whois_str, verbose)
  File "/home/ubuntu/code/whois/python_whois/whois/_2_parse.py", line 135, in handleShortResponse
    raise FailedParsingWhoisOutput(whois_str)
python_whois.whois.exceptions.FailedParsingWhoisOutput: The registration of this domain is restricted, as it is protected by the Identity Digital DPML Brand Protection policy. Additional information can be found at https://www.identity.digital/what-we-do/brand-protection.
>>> Last update of WHOIS database: 2023-02-01T02:49:24Z <<<

proper legal basis for accessing the withheld data. Access to this data can be requested by submitting a request via the form found at https://www.identity.digital/about/policies/whois-layered-access/ Identity Digital Inc. reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.

>>>

You expect a None return ?
As the domain is not registered ?
On Wed, Feb 1, 2023, 03:51 baigreen @.***> wrote:

Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from python_whois import whois
d = whois.query("gpt.domains",verbose = True, include_raw_whois_text=True)
['gpt', 'domains']
we have domains
filterTldToSupportedPattern returns tld: domains
domains ['gpt', 'domains']
using _server hint whois.donuts.co for tld: domains
force = False
['whois', 'gpt.domains', '-h', 'whois.donuts.co']
The registration of this domain is restricted, as it is protected by the Identity Digital DPML Brand Protection policy. Additional information can be found at https://www.identity.digital/what-we-do/brand-protection.
Last update of WHOIS database: 2023-02-01T02:49:24Z <<<

Terms of Use: Identity Digital Inc. provides this Whois service for information purposes, and to assist persons in obtaining information about or related to a domain name registration record. Identity Digital does not guarantee its accuracy. Users accessing the Identity Digital Whois service agree to use the data only for lawful purposes, and under no circumstances may this data be used to: a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the registrar's own existing customers and b) enable high volume, automated, electronic processes that send queries or data to the systems of Identity Digital or any ICANN-accredited registrar, except as reasonably necessary to register domain names or modify existing registrations. When using the Identity Digital Whois service, please consider the following: The Whois service is not a replacement for standard EPP commands to the SRS service. Whois is not considered authoritative for registered domain objects. The Whois service may be scheduled for downtime during production or OT&E maintenance periods. Queries to the Whois services are throttled. If too many queries are received from a single IP address within a specified time, the service will begin to reject further queries for a period of time to prevent disruption of Whois service access. Abuse of the Whois system through data mining is mitigated by detecting and limiting bulk query access from single sources. Where applicable, the presence of a [Non-Public Data] tag indicates that such data is not made publicly available due to applicable data privacy laws or requirements. Should you wish to contact the registrant, please refer to the Whois records available through the registrar URL listed above. Access to non-public data may be provided, upon request, where it can be reasonably confirmed that the requester holds a specific legitimate interest and a
proper legal basis for accessing the withheld data. Access to this data can be requested by submitting a request via the form found at https://www.identity.digital/about/policies/whois-layered-access/ Identity Digital Inc. reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.
line count < 5:: domains gpt.domains The registration of this domain is restricted, as it is protected by the Identity Digital DPML Brand Protection policy. Additional information can be found at https://www.identity.digital/what-we-do/brand-protection.

Last update of WHOIS database: 2023-02-01T02:49:24Z <<<

proper legal basis for accessing the withheld data. Access to this data can be requested by submitting a request via the form found at https://www.identity.digital/about/policies/whois-layered-access/ Identity Digital Inc. reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.
Traceback (most recent call last):
File "", line 1, in
File "/home/ubuntu/code/whois/python_whois/whois/init.py", line 279, in query
data = do_parse(
File "/home/ubuntu/code/whois/python_whois/whois/_2_parse.py", line 227, in do_parse
return handleShortResponse(tld, dl, whois_str, verbose)
File "/home/ubuntu/code/whois/python_whois/whois/_2_parse.py", line 135, in handleShortResponse
raise FailedParsingWhoisOutput(whois_str)
python_whois.whois.exceptions.FailedParsingWhoisOutput: The registration of this domain is restricted, as it is protected by the Identity Digital DPML Brand Protection policy. Additional information can be found at https://www.identity.digital/what-we-do/brand-protection.

Last update of WHOIS database: 2023-02-01T02:49:24Z <<<

proper legal basis for accessing the withheld data. Access to this data can be requested by submitting a request via the form found at https://www.identity.digital/about/policies/whois-layered-access/ Identity Digital Inc. reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.

—
Reply to this email directly, view it on GitHub
https://github.com/DannyCork/python-whois/issues/264, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACU73CXKVQREX5CBWBSLZF3WVHFTTANCNFSM6AAAAAAUNFPOOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

i have added "The registration of this domain is restricted" as a valid reason for None


About GPU memory usage

Hello！
I don't see what GPU is being used in this project. So I want to ask, I have 4 40G NVIDIA V100 GPUs, could I run the best model?
thanks！

Hi, it should be pretty enough for ViT-B based models. For ViT-L based models, you may try it out. If it doesn't fit, you can try to set the update_interval in the config file to a larger value (max is 8 since the batchsize per GPU is 8 by default).


Add descriptions for path.Clean and filepath.Clean

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

$ go version

go version go1.14 Linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

Linux on x86
What did you do?

What did you expect to see?
The description of the documents for path.Clean and filepath.Clean not mention the difference between them. The implementation and the test cases are almost the same (the test cases are exactly the same). Do we need to append some description about the difference between the usage of these two functions to the current documents?
What did you see instead?

The difference between path.Clean and filepath.Clean is that the former works on slash-separated paths, and the latter works on paths separated using OS-specific separator characters (such as backslash on Windows).  This is documented in the function docs if you read closely, and it is documented in the package docs of the path and filepath/path packages.


simple change for blender2.8

Do you have some more context for why these changes were made? Perhaps a migration guide of some sort? Are these changes compatible with 2.7x? This plugin still needs to support 2.7x. Also, blendergltf will need to be updated for 2.8 in order for blend2bam to work, which is required for BAM export. Also, I wonder how well rendered viewport works since this addon uses raw OpenGL calls that I am pretty sure are incompatible with Blender 2.8's core profile.

These changes are not compatible with 2.79, and I want to be able to support both 2.79 and 2.8x.


Search clowder for data

Should have a complex query capability to find data in clowder. This should allow the user to do complex queries like find all data that has LAI > 10 AND is type XYZ.
See https://opensource.ncsa.illinois.edu/jira/browse/CATS-328

A suggested use cases for searches:
To monitor a single plot over time: Identify all imagery (all or selected sensors) for a location. Location might be a plot ID, point location with radius, or bounding rectangle. The time range would be user selected. The images could be retrieved in their original un-stitched form or in whatever stitched format is available (full field or swaths down the center-line of plots).

Making substantial progress here, but not ready to close issue yet. Lots of extractor dev focus as well.

Once this is merged this should be done, at least for a first cut:
https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/pull-requests/994/overview

@max-zilla it seems like the next step is to create new issues for more manageably sized tasks and close this one ... correct?

Yep, just haven't gotten around to it yet.

Closing this issue for #231.


Borrow text of immutable syntax node

In https://github.com/rust-analyzer/rowan/pull/101 rowan::SyntaxNode::green returns Cow<'_, GreenNodeData>. It returns borrow of green node of immutable syntax tree node.
Using this we can return borrowed text from ast::Name::text.
However now it allocates in case of mutable syntax trees. (see next comment)
The idea comes from https://github.com/rust-analyzer/rowan/pull/100#issuecomment-809330325

Replaced Cow<str> with cow-like TokenText:
pub enum TokenText<'a> {
    Borrowed(&'a str),
    Owned(GreenToken)
}

Though, it does not implement ToOwned.
Draft is waiting for:

[ ] Landing of https://github.com/rust-analyzer/rowan/pull/101

would be interesting to get some benchmakrs here. You can run cargo xtask bb baseline / cargo xtask bb cow to prepare two test binaries, and /target/rust-analyzer-last-cow -q analysis-stats --memory-usage . to run a simple bench.

With cpupower frequency-set -g performance applied:
master https://github.com/rust-analyzer/rust-analyzer/commit/27e80e9 vs this https://github.com/rust-analyzer/rust-analyzer/pull/8280/commits/f316163
[dawer@iPC rust-analyzer]$ ./target/rust-analyzer-baseline_27e80e9 -q analysis-stats --memory-usage .
Database loaded:     946.71ms, 283minstr, 86mb
  crates: 34, mods: 649, decls: 12591, fns: 9924
Item Collection:     19.01s, 77ginstr, 288mb
  exprs: 278045, ??ty: 2512 (0%), ?ty: 1870 (0%), !ty: 1064
Inference:           46.72s, 120ginstr, 441mb
Total:               65.73s, 197ginstr, 729mb

[dawer@iPC rust-analyzer]$ ./target/rust-analyzer-cow_f316163 -q analysis-stats --memory-usage .
Database loaded:     949.80ms, 283minstr, 86mb
  crates: 34, mods: 649, decls: 12591, fns: 9924
Item Collection:     19.04s, 77ginstr, 288mb
  exprs: 278045, ??ty: 2512 (0%), ?ty: 1870 (0%), !ty: 1064
Inference:           46.91s, 120ginstr, 441mb
Total:               65.95s, 197ginstr, 729mb

LGTM, @iDawer can you rebase?
bors d+

Hmm, version 0.13.0-pre.5 introduced breaking change in "pre" version, is it ok?
Currently, rowan dependency is pinned on "=0.13.0-pre.3" (https://github.com/rust-analyzer/rust-analyzer/pull/8551) because of this.
I'm uncertain, shouldn't we bump rowan's minor version with the change + revert the change in 0.13.0-pre.6 to be in line with semantic versioning?

Breaking changes in pre version are OK -- that's exactly what makes pre versions useful!

I left rowan version pinned rowan = "=0.13.0-pre.5"
bors r+

bors r+

bors retry


Implement a SharedMemory mechanism as Collection backend on libmodsecurity

ModSecurity version 3 architecture allow the utilization of multiple backends, including a shared memory one. The support should be implemented. The interface is available here:
https://github.com/SpiderLabs/ModSecurity/blob/libmodsecurity/headers/modsecurity/collection/collection.h

As of: 833089eb70f6049c73db5ce9394e765594e43e9e collections can be saved using LMDB. LMDB support the access from multiprocess. Further info about LMDB: https://github.com/LMDB/lmdb

Hi,
How to configure mod_security to use this LMDB? Could someone please post config sample, thanks a lot!

Any update on how to configure it?

@HOSTED-POWER
Hi,
If you have lmdb installed, you could enable it by passing --with-lmdb to modsecurity configure script.
Good luck

Hey Roger-Man,
Thanks a lot for your feedback! Just pass it and it will use it? :)
Any idea about redis by coincidence?

Hi @HOSTED-POWER
Hi just pass it and the configure script uses it. But, Hey just don't pass it. Its so buggy and ends up in nginx worker process to crash and exist. This result in user session termination with empty responses. The logs complain about

double free or corruption

May be thats why no one including @zimmerle answered you how to configure it for a long time. I know he actively replies the posts.


wait for cloud-init to finish before setting up RepoDepot

we need to wait for cloud-init to finish before updating /etc/apt/sources.list to set up RepoDepot in custom clouds.
Both cloud-init and CSE will make changes to the node at provisioning time. A race condition exists that may cause the changes to /etc/apt/sources.list being overwritten by cloud-init. Adding the wait will make sure could-init is done before making the change.
The wait takes about 10 seconds based on my testing. But this is only for custom cloud. So I think it is ok.

@xizhamsft  looks like the make generate doesn't work for you so the check failed. I cloned your change and merged it with another PR: https://github.com/Azure/AgentBaker/pull/182
Closing.


Fixed the table formatting and contained code

This table was a bit of a mess; having vertical pipes in the code examples was not handled well by the table markup, which uses vertical pipes.  The HTML tags intended to preserve the example code didn't have the desired effect.
I replaced the code and pre tags with normal markdown inline code markup.  I also escaped all pipe characters in the table whether or not they are code examples since the table formatting was taking precedence over inline code preservation.
I'm not convinced that putting code examples with long lines inside of a table is the best way to present this information due to how hard it is to read very wide tables, but at least now all the information is actually being displayed now.  Maybe the information would be easier to understand without the table and instead described under subheadings so the examples can take the whole width of the viewport if needed.

#sign-off Thanks for your contribution!


Fixed empty event and improved continuous integration

This PS fixes an empty event shown on codefor.de/termine. See image.

@MorrisJobke @fuergestalten Please merge asap. Thanks


Update to allow babel-register to run in the global npm context

Unfortunately this didn't resolve the problem on my machine. I have another PR https://github.com/LeanKit-Labs/tag-release/pull/3 that is ready for review that removes babel and downgrades the ES6 features to only those that are supported by Node v5.


WIP: Fix #153 & #247 - Add --server support to ONI

Fix #153 & #247 - add --server support

Add capability to connect to remove neovim instance

This needs to be revisited since a lot has changed since the original PR.
Some of the work done in #622 would allow for some interesting ways to address this - including potentially having neovim connected to a remote server live side-by-side with a local neovim instance, for example.
I'll close this for now as the changes aren't relevant anymore, but will revisit shortly.


Let the head rotate with the camera when decoupled

I always wanted to enjoy third person and have been coping for the perfect third person mod
BetterThirdPerson was almost there but It doesn't have transparency when you get close, which I feel Is like a basic thing needed to make a usable third person. Is It Impossible to see what you're doing when getting wood after a few blocks or do I just have a skill Issue?
The main thing I like from BTP Is how you can still rotate your head with the camera. Like whether you're facing forward or backwards, turning the camera up makes you look up and turning the camera down makes you look down. For example:

I like being able to look at things without moving. This makes It look less awkward when doing things and having the head Immediately snap Into place
Would appreciate, I just want to be able to play In third person without Issues
Also, do you backport updates?... Currently playing on 1.20.1 because a lot of mods I wanted weren't updated...
Thank you for your work 🙏🏽

Thank you for the feedback. This will be configurable via sync_player_x_rot_with_inputs in the next release.

FYI: The config option sync_player_x_rot_with_inputs will be renamed to player_x_rot_follows_camera in the next release of SSR (4.3.0).

Yes, and I see you've added both X and Y rotation. Thank you so much!!! I wanted to request that as well but felt bad about It. The mod Is perfect for me now. Know the Issue's closed but I really wanted to show appreciation for It. So grateful for your consistent efforts and consideration 🤟🏽


[Feat][UI] Display message for school domains that are not yet supported

Current Implementation

Currently, the web app will display "Please enter a valid school email address" for school domains that are not yet supported by AfterClass.

Potential Issues

The error message might be misleading considered the school domain is indeed valid, just that it is yet to be supported
Discussion

What will be an ideal message to display
How should we display the message

this can be done by manipulating the zod object used in react-hook-form at @/common/tools/zod/schemas.ts#L13-L20
currently, we already display a basic meessage on the form input itself and this should be sufficient for our first release:

for future references, we can consider having better message delivery for invalid / unsupported emails by using better vocab or with toasts


Test emdaer for documentation

Consider using emdaer to maintain a comprehensive README alongside the docs/ folder

Decided against it, will concentrate on site vs. readme

Hi @marionebl - One of the maintainers of emdaer here.  What were you trying to use it for? Where did you get stuck?
I see you were evaluating it at a time when things we in flux a bit. We recently released 2.0 with some major improvements and stability. As an aside, v3 is in the works and will probably contain some DX and CLI UX improvements.

Hey @infiniteluke, thanks for reaching out.
If i recall correctly there was nothing that blocked me when looking at emdaer - I just decided to go with the HTML docs found at http://marionebl.github.io/commitlint/#/ as primary docs source instead of relying on the main README so much. I understand emdaer is a tool to help with maintaining big README files, correct?
Glancing at the current emdaer README there are some interesting plugins for some of my lerna projects. Will def. check it out again.


EBADF opening ASAR archive on Windows

Seems to be introduced by #1642:
Running: C:\Users\Paul\AppData\Local\Temp\slack-build\Slack\slack.exe -e -r .
readFileSync: C:\Users\Paul\AppData\Local\Temp\slack-build\Slack\resources\atom.asar\browser\lib\init.js
fs.js:598
  var r = binding.read(fd, buffer, offset, length, position);
                  ^
Error: EBADF: bad file descriptor, read
    at Error (native)
    at Object.fs.readSync (fs.js:598:19)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:415:10)
    at Object.Module._extensions..js (module.js:435:20)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:298:12)
    at Function.Module.runMain (module.js:459:10)
    at startup (node.js:131:18)
    at node.js:879:3

Doesn't seem to repro on OS X

It only happens in Release build, weird.


Free up the error string

Does this just free up a bit of memory?

Does this just free up a bit of memory?

Yes 255 bytes,  memory is allocated here:
https://github.com/armPelionEdge/maestro/blob/2527aa94e4a49ea1c4db148fb11c14bf1d12eab0/processes/process_utils.c#L56
get_error_str is called once everytime a child is created. Small leak on every new child creation.


Enable Gradle Predictive Test Selection by default

Thanks to changes in Gradle Enterprise Gradle Plugin 3.13.1, we should be able to use Predictive Test Selection and the Build Cache together, and get benefit from both.
From https://docs.gradle.com/enterprise/predictive-test-selection/#build_cache:

Predictive Test Selection is complementary to Gradle Enterprise Build Cache.
When Predictive Test Selection is enabled, test tasks/goals will store their results in the build cache if build caching is enabled, all tests are selected for execution, and the task/goal was successful. The results from running only a subset of all tests or failing tests are never stored in the build cache. Test tasks/goals will aim to reuse the test results from a prior build invocation if the build cache is enabled, regardless of whether Predictive Test Selection is currently enabled or not (requires Gradle 8.2+ and Gradle Enterprise Gradle plugin 3.13.1+ or Gradle Enterprise Maven extension 1.16+).
On a cache miss, rerunning the same test suite for the same code-under-test with Predictive Test Selection enabled, previously selected tests that passed will not be selected again. Instead, Predictive Test Selection will select different tests, and typically fewer, for subsequent executions.

PTS is now enabled by default, except on the main branch or when generating code coverage statistics for Codecov.
Closes #6073

Warnings

:warning:
This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

  Generated by :no_entry_sign: dangerJS against<PHONE_NUMBER>b871023d5aecc72b884fc4d9ec36ed


Add Query capability to the model

As a Developer
I need  to add query capability to filter on our List method
So that anyone can easily filter the Products database using a query
Details and Assumptions

Product information is stored in our PostgreSQL database
Need to modify models.py and enhance the List method

Acceptance Criteria
Given the service is running
When I call the List method with query
Then the filtered list is shown as expected

I think this issue is redundant and not sure we need it, as we already have query methods like find_by_name or find_by_category or etc.


Any attempt to filter out match cause an infinite loop without g flag in markRegExp method.

The documentation for markRegExp stated:
mark.js will always find all matches, regardless of the g flag.
this simple code with the intention to mark the first element cause the existing library to fall in an infinite loop without g flag.
let count = 0;
context.markRegExp(/ABC/i, {
    'acrossElements' : true,
    'filter' : function(elem, match) {
        if(++count > 1) {
            return false;
        }
        return true;
    }
});

RegExp lastIndex without g and y flags is always set internally to 0 after the match.
Normally, when the match occur, match string is cut out from input string in wrapRangeInMappedTextNode.
But when it filtered out, the match string is left in the input string. Next go match it again ...
this code also create infinite loop, but now it occurs in wrapMatches method
let count = 0;
context.markRegExp(/ABC/i, {
    'filter' : function(elem, match) {
        if(++count > 1) {
            return false;
        }
        return true;
    }
});

cause of the problem the same - without g flag the search starts from 0.
In both cases in order to reproduce there must be at least two matches e.g. -
text abc text abc

This is actuality not code bugs but the result of mistake to make custom RegExp g flag to be optional, instead of forcing to have it.
See 'Warning' in RegExp/exec for use exec method in while loop.


Don't pop up list for all events on same day; just use day as event handler?

Is it possible to not have a list of events pop up when you click on a day with a single event, but to instead, just capture the click for the day, and work from that click?

Found a forked version which accomplishes this.


Fix Provider (Issues #5)

This bug occurs in safari. Plese refer https://stackoverflow.com/questions/4310953/invalid-date-in-safari.

Awesome @CheolHoJung
Thanks for this.


Issue using Pagination reverse flag on search_recent_tweets

Hey all, I am not sure if I am missing something but when I am running pagination with the reversed flag the number of results I receive is dramatically different than when I run it without the flag.
cl = tweepy.Client(bearer_token=token)
tweets = tweepy.Paginator(cl.search_recent_tweets,
                                "OpenSearch",
                                tweet_fields=['id', 'author_id', 'text', 'lang', 'public_metrics', 'created_at', 'entities'],
                                expansions=['author_id', 'referenced_tweets.id'],
                                user_fields=['username'],
                                max_results=40,
                                since_id=None)

all_tweets = []
for tweet_page in tweets:
    for tweet in tweet_page.data
        all_tweets.append(normalize_tweet(tweet))

When I run the above with reversed = True at the moment I get exactly 80 results (2 iterations). Without the reversed flag I receive ~460 results.

If you're referring to the reverse parameter for PaginationIterator, that's used for paginating backwards. It would be expected that passing it as True to Paginator without a pagination token would only return a single iteration/response, since that would be the first page with nothing to paginate backwards to, and that is the behavior I'm seeing:
>>> responses = tweepy.Paginator(
...     client.search_recent_tweets,
...     "OpenSearch",
...     tweet_fields=[
...         'id', 'author_id', 'text', 'lang', 'public_metrics', 'created_at',
...         'entities'
...     ],
...     expansions=['author_id', 'referenced_tweets.id'],
...     user_fields=['username'],
...     max_results=40,
...     since_id=None,
...     reverse=True
... )
>>> len(list(responses))
1

I'm encountering the same expected behavior when using the Python built-in reversed function:
>>> responses = tweepy.Paginator(
...     client.search_recent_tweets,
...     "OpenSearch",
...     tweet_fields=[
...         'id', 'author_id', 'text', 'lang', 'public_metrics', 'created_at',
...         'entities'
...     ],
...     expansions=['author_id', 'referenced_tweets.id'],
...     user_fields=['username'],
...     max_results=40,
...     since_id=None
... )
>>> len(list(reversed(responses)))
1

I'm unable to reproduce 2 iterations/responses being returned.
Otherwise, I'm not sure what "reversed flag" you're referring to, as there is no reversed parameter anywhere in Tweepy, and I'm pretty sure there's not a reversed parameter for any Twitter API endpoints either (and definitely not for the recent search endpoint).
Do you have a reproducible example (MCVE/SSCCE) of what exactly you're trying and encountering?


Closing or restarting the editor doesn't terminate the process running in the terminal

VSCode Version: 1.22
OS Version: Mac OS 10.12.1

Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:

Run any service in the terminal eg: mongod
Quit visual studio code and relaunch it
Now again run the same command in the terminal. It will display an error "Another mongod instance is already running".

Related: https://github.com/Microsoft/vscode/issues/44408

Was going to take a look at this, can anyone suggest a good place to start please?

The process is launched from VS code here: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/terminal/node/terminalProcess.ts
It uses the https://github.com/Microsoft/node-pty module to launch the process. Running code --status should help visualize the process tree under VS Code.

Duplicate https://github.com/Microsoft/vscode/issues/45535


[2.x] WFCORE-1568 AttributeDefinition should defer handling of undefined values to CapabilityReferenceRecorder

https://issues.jboss.org/browse/WFCORE-1568

@bstansberry The requisite downstream update was merged.

retest this please

Full integration - Windows Build 40 outcome was FAILURE using a merge of 4e9b69708b133d75382a5f111b3aa500513b35b9
Summary: Execution timeout (new); tests passed: 3321, ignored: 197, muted: 1 Build time: 01:31:25


added failing test with node renaming

still not fixed

already integrated into https://github.com/tomuxmon/xml-mut/pull/9


Delete Current Avatar sets avatar to gravatar icon

Gitea version (or commit ref): 79d527195d98d74867a067ce93a4dace2b86d2bb (1.1.0-dev)
Can you reproduce the bug at https://try.gitea.io:
Yes

I've no idea why but hitting "Delete Current Avatar" button in an organization
page turns the avatar into a Gravatar logo. Hitting "Update Avatar Setting"
after that gives a new random avatar (which doesn't happen again upon hitting
"Update Avatar Setting" again).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

AFAIK Organizations shouldn't even hit Gravatar 😕

Well. The same function is invoked when user deletes avatar. Organizations in gitea/gogs are in fact User instances.

move this to v1.2 since no PR to fix this.

Also means that if you import users from ldap when gravatar is enabled and then disable gravatar the default user avatar will become the avatar generator instead of whatever default avatar you have.

Deleting the ldap user and resyncing just means you get the random avatar again instead of the default avatar.

There is no way to have the default avatar show up for all users, its either default gravatar logo or the random avatar generator. Few options I see

Setting to disable random avatar generator, fall back to default avatar png
Setting to use any avatar generator, for example http://avatars.adorable.io/


[Suggestion] A hero selection GUI

Hello, I would like to suggest a small feature, it would be nice if there were a GUI for players to select a hero, the heroes could be displayed with player-heads or items with short descriptions in the lore, these items and lore could be defined in the hero's YML file. that way, upon going the server, or some other event, server owners could show the GUI to players to allow them to select a hero.

Hi, this is a pretty good idea. The reason it isn't here currently is /hero select and similar commands were meant to be for admins but it just turns out most servers don't use it like that. I'll consider it.

My idea is that it could be a command to show the GUI, so that players can use it without permissions, but the GUI would have to be triggered by an admin or console command. Also it could still be used by servers which don’t want to use it that way as a slightly easier alternative to selecting a hero, as well as an easy way to view what each hero does by using item lore. Thank you, and even if the feature is not implemented, keep up the good work on the plugin, this has to be one of the best plugins I’ve ever seen, and it’s incredibly useful and fun to play around with different powers and see how they can all be used.

This is completed now


Removes Google PageSpeed Cache suggestion.

Since I load all fonts from the same server I've been getting this Google PageSeed suggestion about the expiry dates on woff2 files. Adding just the font/woff2 type seems to fix them.

Looking good, thank you!


Unable to Publish Composer Bot App

Hello Everyone,
I am trying to publish my composer bot app in Azure.
I am referred below links of Microsoft for the same,

https://docs.microsoft.com/en-us/composer/tutorial/tutorial-introduction
https://docs.microsoft.com/en-us/composer/how-to-publish-bot

I have created a bot with add LUIS as mentioned in the above first link. then I follow the second link but got an error while publishing.
Also, I have created LUIS authoring cognitive service in Azure as mention in first link
Please refer to error text,

"{"name":"RequestError","message":"Error: read ECONNRESET","cause":{"name":"Error","message":"read ECONNRESET","stack":"Error: read ECONNRESET\n    at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27)"},"error":{"name":"Error","message":"read ECONNRESET","stack":"Error: read ECONNRESET\n    at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27)"},"options":{},"stack":"RequestError: Error: read ECONNRESET\n    at new RequestError (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:7891:13)\n    at Request.plumbing.callback (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:8127:26)\n    at Request.RP$callback [as callback] (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:8098:27)\n    at self2.callback (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:51180:25)\n    at Request.emit (events.js:210:5)\n    at Request.onRequestError (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:51720:11)\n    at ClientRequest.emit (events.js:210:5)\n    at TLSSocket.socketErrorListener (http_client.js:406:9)\n    at TLSSocket.emit (events.js:210:5)\n    at emitErrorNT (internal/streams/destroy.js:92:8)\n    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)"}"

"{"name":"StatusCodeError","statusCode":400,"message":"400 - \"{\\\"error\\\":{\\\"code\\\":\\\"BadArgument\\\",\\\"message\\\":\\\"The source completed without providing data to receive.\\\"}}\"","error":"{\"error\":{\"code\":\"BadArgument\",\"message\":\"The source completed without providing data to receive.\"}}","options":{},"response":{"statusCode":400},"stack":"StatusCodeError: 400 - \"{\\\"error\\\":{\\\"code\\\":\\\"BadArgument\\\",\\\"message\\\":\\\"The source completed without providing data to receive.\\\"}}\"\n    at new StatusCodeError (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:7904:13)\n    at Request.plumbing.callback (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:8138:28)\n    at Request.RP$callback [as callback] (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:8098:27)\n    at Request.self2.callback (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:51180:25)\n    at Request.emit (events.js:210:5)\n    at Request. (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:51928:13)\n    at Request.emit (events.js:210:5)\n    at IncomingMessage. (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:51859:15)\n    at Object.onceWrapper (events.js:299:28)\n    at IncomingMessage.emit (events.js:215:7)\n    at endReadableNT (stream_readable.js:1183:12)\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)"}"

"StatusCodeError - 400 - "{\"error\":{\"code\":\"BadArgument\",\"message\":\"The source completed without providing data to receive.\"}}""

Please refer to error screenshots,

Please help me with the same as soon as possible.
Thanks in Advance.

@BhattMeet98 - Did you post this question? https://stackoverflow.com/questions/67316290/unable-to-publish-composer-bot-in-azure

@BhattMeet98 Could you specify the version of Composer you are using and fill in the required details in the github issue template?

@BhattMeet98 Could you specify the version of Composer you are using and fill in the required details in the github issue template?

i have used V1.4.0

@BhattMeet98 - Are you still working on this?


Add track helper

proof of concept:
import Ember from 'ember';

const {
  assign,
  inject: { service }
} = Ember;

export default Ember.Helper.extend({
  metrics: service(),

  compute([ event ], params = {}) {
    return () => this.get('metrics').trackEvent(assign({ event }, params));
  }
});

Usage:
<button {{action (pipe ("myAction") (track "Clicked button" type="thing" foo="bar")}}>
  Stuff
</button>

cc @offirgolan

Related: #144