support authentication

Clean version of https://github.com/jupyterhub/binderhub/pull/596/.
From https://github.com/jupyterhub/binderhub/pull/596/:

Mainly I think the separate use_oauth config is unnecessary, since auth_enabled seems to never be true without it.

It seems we don't nee to have separate auth_enabled and use_oauth flags. We can have a single auth_enabled flag that sets up HubOAuth, perhaps? Or even run with a jupyterhub_service flag that will load the full service config (URL, etc.)?

Maybe I don't understand what @minrk meant here. I still think that we need 2 flags: auth_enabled is to hold if authentication is enabled and use_oauth is to hold if an authenticator from https://github.com/jupyterhub/oauthenticator is used.

I would love to get some tests for the authenticated cases. Do you think you are up for that?

I started writing tests but I am not sure what I did is right.
There is already a problem while running auth tests locally. The problem is that HubAuth.api_token is not filled with JUPYTERHUB_API_TOKEN env variable by default (https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/services/auth.py#L172). As a workaround I added the dynamic default value generator for api_token in jupyterhub/services/auth.py:
    @default('api_token')
    def _default_api_token(self):
        return os.getenv('JUPYTERHUB_API_TOKEN', '')

When I do this, tests work locally. Is this a bug in JupyterHub or is the way I did auth tests wrong?

I still think that we need 2 flags: auth_enabled is to hold if authentication is enabled and use_oauth is to hold if an authenticator from https://github.com/jupyterhub/oauthenticator is used.

I don't think so. The switch here doesn't seem to be related to jupyterhub's own authenticator choice. use_oauth selects between the old HubAuthenticated (relies on cookies, fragile and inflexible) and the newer HubOAuthenticated (uses oauth to authorize with the Hub). I was recommending that we eliminate the use_oauth flag and always authenticate with the Hub via HubOAuthenticated.

@minrk @betatim thanks a lot for reviews!
@minrk sorry, you were right, I was thinking wrong about HubOAuthenticated and HubAuthenticated. I changed it to use only auth_enabled flag and authenticate with JupyterHub through HubOAuthenticated.

@minrk tests passed after I replaced <IP_ADDRESS> with host IP.

boom! this one has been a long time coming! really nice @bitnik :-)

finally :) thanks to all of you!

This pull request has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/a-persistent-binderhub-deployment/2865/1


[stable/datadog] add podLabels option

We use pod labels in prometheus and also in alertsmanager so would be great to have this available in this chart.
What this PR does / why we need it:
Add optional pod labels.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @hkaj
/unassign @xvello

/assign @hkaj

@hkaj please re-review 🙂

/approve

/ok-to-test

/lgtm


id should be strings not int ?

I believe I found an issue with the way IDs are being used in the example. database.js uses int type for IDs rather than string type. In schema.js the queryType uses getUser(1) using 1 for the resolver of viewer. However, in nodeDefinitions the first method uses fromGlobalId which I believe returns an id as a string. Thus when type is 'User' the getUser(id) will have an id of '1' which causes the function to incorrectly return null.  Simple fix would be to use abstract equality (==) vs strict equality (===)  in getUser() and getFeature()  OR use string IDs.
I noticed this when I had a need to perform a force query (w/ forcefetch={true} on viewer and got back null.
On a side note, I notice your still using react-mdl which is deprecated. I would highly recommend material-ui.

Thanks for spotting that! Yeah, at some point I changed IDs to int, but must have missed that instance. Will address this (or you can PR).
Concerning react-mdl, a PR is also welcome :)

@apage2, the issue's fixed in https://github.com/lvarayut/relay-fullstack/pull/93. Regarding the react-mdl, we plan to remove it entirely and use just a vanilla css 😄


The Cascading Crusade or: How I Learned to Stop Worrying and Love Super-Duper-Fiesta

TL;DR: MISC STYLING INTENSIFIES
Lining things up, standardizing things, reducing redundant redundancy.
this is why i dont get invited to parties
Changelog

Added a Card component, complete with styling and everything, for somewhat obvious reasons

A lot of "duplicate" styling has been removed thanks to this.
Dialog, IssueStatus, Issue, ConcludedIssue now all use Card. Might've forgotten another one.

Converted everything to rem, and more specifically changed a rem from 10px to default 16px
Added some basic styling for Issueform and Users

Using checkboxes for voting rights on Users, but since we can't style them we're probably better off changing them for a custom flaticon thing in the future.

Added normalize.css
Various tweaks here and there to tag-use and styling

Perhaps most notably is the use of h1 for the header, h2 for card titles, h3 for subtitles and h4 for form "labels".
I went with a main div and styling directly targetting it because "The content inside the  element should be unique to the document." and "There must not be more than one  element in a document.", so there should be no misfire.

Removed Roboto

Why? Prokom has been critical towards the use of Roboto for Online earlier (read: regme), and personally I thought it looked sort of cramped at that font-weight anyways.

Y'all like images?
Have some before-and-afters - my treat.
End-user index

Note: The IssueStatus does fill the row in this PR, just fixed it after the screenshot and was kinda lazy.

Admin index

Issue form

Edit dialog in issue form

Registration dialog

User admin

What did we learn from this PR?

for the love of god, just make a list of what you're doing, try your very best to avoid bikeyakshedshaving, make smaller PRs
commit more often (but not necessarily smaller commits)

In the same vein, be more clear on what is being committed. While CSS often boils down to "tweaking" and the likes, try to keep commits structured

getting some sleep and coming back to the work later helps a lot. suddenly the task at hand was trivial
air your thoughts, be it towards fellow team members, a rubber duck or slackbot
stop writing long pr texts that don't matter towards the actual code for the sake of half-assed comedic value

@sklirg: Checkbox does feel excessively simple, I agree. I'm thinking it can be replaced with a two-button toggle where each button is a flaticon, use some red and green and grays and you got yourself an intuitive interface. Also makes more sense to get a warning when clicking a button than a checkbox, like you said.

Purrr-fect. 👍

Yes, I would like one neatly styled interface for my hobby dashboard please.
Thank you.

Bob


Advanced Search syntax translation

Plese add a comment about how and whether to translate/localize the syntax strings and valid properties. I'm not a programmer, so I'm not sure what to do.
#: src/ui/views/mainwindow.cpp:658
msgid ""
"Advanced Search is a powerful feature provided by Tagger that allows users to search "
"files' tag contents for certain values, using a powerful tag syntax:\n"
"\n"
"    !prop1=\"value1\";prop2=\"value2\"\n"
"    Where prop1, prop2 are valid tag properties and value1, value2 are the values to "
"search wrapped in quotes.\n"
"    Each property is separated by a comma. Notice how the last property does not end "
"in a comma.\n"
"\n"
"    Valid Properties:\n"
"    - filename\n"
"    - title\n"
"    - artist\n"
"    - album\n"
"    - year\n"
"    - track\n"
"    - albumartist\n"
"    - genre\n"
"    - comment\n"**
"\n"
"    Syntax Checking:\n"
"    - If the syntax of your string is valid, the textbox will turn green and will "
"filter the listbox with your search\n"
"    - If the syntax of your string is invalid, the textbox will turn red and will "
"not filter the listbox\n"
"\n"
"    Examples:\n"
"    !artist=\"\"\n"
"    This search string will filter the listbox to contain music files who's artist "
"is empty\n"
"\n"
"    !genre=\"\";year=\"2022\"\n"
"    This search string will filter the listbox to contain music files who's genre is "
"empty and who's year is 2022\n"
"    (Year and Track properties will validate if the value string is a number).\n"
"\n"
"    !title=\"\";artist=\"bob\"\n"
"    This search string will filter the listbox to contain music files who's title is "
"empty and who's artist is bob\n"
"\n"
"    * Advanced Search is case insensitive *"
msgstr ""

Sorry for the confusion! The syntax strings and valid properties should remain in English. Thanks :)

To make it more understandable for users you could add translation for valid properties like I did:
"    Допустимые имена тегов:\n"
"    - filename (имя файла)\n"
"    - title (название)\n"
"    - artist (исполнитель)\n"
"    - album (альбом)\n"
"    - year (год)\n"
"    - track (номер трека)\n"
"    - albumartist (исполнитель альбома)\n"
"    - genre (жанр)\n"
"    - comment (комментарий)\n"


Add FrameSet.isConsecutive() (refs #51)

Adds a new method, isConsecutive() to the FrameSet class, for determining if the range is consecutive integers (stepping == 1):
>>> FrameSet('1-100').isConsecutive()
True
>>> FrameSet('1-100x2').isConsecutive()
False
>>> FrameSet('1-50,60-100').isConsecutive()
False

Fixes #51

Amazing !
Thanks @justinfx ! I will test as soon as I go back to work !

It works perfectly! Thanks again @justinfx ! :)

Cool. Thanks for confirming. I'm glad this was a helpful addition.


Add Random Events

Example:
Faction: Arleon
Name: Prize Hen
Description: A patrol stumble upon a village in celebration. They quickly find out what the ruckus is all about. A hen has layed a solid golden egg. The egg and the hen were swiftly claimed for the realm's profit.
In addition, details about triggers, recipient value, artefact types or penalities would be nice.
Full data extracted from game:
{
    "id": 2,
    "randomEventData": {
      "type": 1,
      "uniqueName": "Arleon/GoldenEgg/PrizeHen",
      "nameKey": "RandomEvents/Arleon/GoldenEgg/PrizeHen",
      "descriptionKey": "RandomEvents/Arleon/GoldenEgg/PrizeHen/Description",
      "eventChainNameKey": "RandomEvents/Arleon/GoldenEgg",
      "isReoccuring": 0,
      "chanceOfHappening": 0.08,
      "eventEvaluationTrigger": 0,
      "requirementEvaluationType": 0,
      "requirements": [
        {
          "requirementType": 7,
          "resourceType": 0,
          "entityType": 6,
          "artifactType": 7,
          "factionIndex": 0,
          "unitIndex": 0,
          "eventReference": {
            "uniqueName": null
          },
          "value": 5
        }
      ],
      "eventRecipient": 0,
      "recipientArtifactType": 7,
      "recipientFactionIndex": 1,
      "recipientUnitIndex": 1,
      "recipientTroopUpgradeType": 0,
      "recipientValue": 500,
      "reward": {
        "rewardDataList": []
      },
      "penalty": {
        "penaltyDataList": [
          {
            "penaltyType": 0,
            "resourcePenalty": {
              "type": 0,
              "amountMinMax": {
                "min": 500,
                "max": 800
              }
            },
            "destroyOwnedBuilding": {
              "buildingToDestroy": 0,
              "destroyAll": 0,
              "amount": 1
            },
            "createHostile": {
              "troop1": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop2": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop3": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop4": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop5": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop6": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop7": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop8": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "troop9": {
                "factionIndex": 0,
                "unitIndex": 0,
                "size": 0,
                "upgradeType": 0
              },
              "amountOfHostiles": 1,
              "spawnLocation": 0,
              "battleMapName": null
            },
            "createRandomHostile": {
              "faction": {
                "factionIndex": 1
              },
              "tier": 1,
              "maxUpgradeType": 0,
              "maxCost": 5000,
              "troopCount": 5,
              "amountOfHostiles": 1,
              "spawnLocation": 0,
              "battleMapName": null
            },
            "reduceRecruitmentPool": {
              "troopsToReduce": [],
              "percentage": 0
            }
          }
        ]
      }
    },
    "type": "GoldenEggPrizeHen"
  }

Hi, I'm willing to work on this

Solved in #92


Increase max wait for assertions in SelfSignedCertProvider tests

I have seen some cases in Github CI where it took slightly over 2 seconds for the Secret update to be processed in
TestSelfSignedCertProviderRotate. Because the wait duration for the assertion was exactly 2 seconds, the test ended up failing.
To be more conservative, we increase the wait duration to 5 seconds.

An example of a failed test run: https://github.com/antrea-io/antrea/actions/runs/8471979619/job/23213124696
From the logs (comments added by me):
I0328 18:33:38.382403   28800 selfsignedcert_provider.go:296] "Didn't find the Secret for TLS certificate and key" secret="secret-foo"
I0328 18:33:38.382434   28800 selfsignedcert_provider.go:258] "Generating self-signed cert"
I0328 18:33:39.543825   28800 selfsignedcert_provider.go:274] "Writing certificate and key to the cert directory"
# Call to p.Run, after starting that goroutine, we immediately update the Secret
I0328 18:33:39.544617   28800 selfsignedcert_provider.go:147] Starting selfSignedCertProvider
# This is logged when the Secret update is processed by the controller
I0328 18:33:41.565063   28800 selfsignedcert_provider.go:274] "Writing certificate and key to the cert directory"
# This corresponds to a later part of the test (when we advance the clock)
I0328 18:33:41.615377   28800 selfsignedcert_provider.go:234] "The remaining duration of the TLS certificate and key is less than min valid duration" remaining="2038h59m36.617891011s" min="2160h0m0s"

Notice these 2 timestamps: 18:33:39.544617 and 18:33:41.565063
The first one roughly corresponds to the beginning of the assert.EventuallyWithT. It takes slightly over 2 seconds after that for the cert to be updated.
In a "normal" test execution (e.g., when running locally), there is almost no gap between the 2 timestamps (< 1ms).

@tnqn actually I was starting to wonder if there could be a connection with the well-known race condition between List and Watch for informers using the fake client? If the Secret Update happens concurrently with the Informer starting, right between the List and the Watch operation, we may lose the Update event.
I have added a second commit which waits for the informer cache to sync after calling Run in unit tests. Let me know if I'm wrong and it's actually not needed...

@tnqn actually I was starting to wonder if there could be a connection with the well-known race condition between List and Watch for informers using the fake client? If the Secret Update happens concurrently with the Informer starting, right between the List and the Watch operation, we may lose the Update event.
I have added a second commit which waits for the informer cache to sync after calling Run in unit tests. Let me know if I'm wrong and it's actually not needed...

Yes, I think the race condition is the root cause of the flake, not the timeout.

/skip-all


Apriltag filtering

Add config to select which apriltags are valid

One more idea, once this is working for the CPU apriltag code, port it over to the code in gpu_apriltag/src/gpu_apriltag_nodelet.cpp


Exporting review comments with annotations

Hello,
I want to save not only annotations but also their issues (comments that are made during review by clicking right mouse button and choosing "Open Issue") however I cannot find any export format that would do that.
Am I missing something, or it isn't implemented? If not, there are any possibilities to get such a feature in near future?
Also, it would be nice to upload such comments during task creation

You can't export issues in annotation formats as no one format supports such kind of data.
You may try to use backup/restore feature, but I do not remember if it really exports issues or not.

Also, it would be nice to upload such comments during task creation

You may use write your own script and use API for that purpose.

Is it possible also to get comments using API instead of using backups/restore?

Also, it would be nice to upload such comments during task creation

You may use write your own script and use API for that purpose.
Could you provide API endpoint for this use case?

All API may be found here: https://app.cvat.ai/api/swagger/ or on the same endpoint in your locally installed CVAT


Redesign handling of object references

This issue is a spinoff of #190
The current implementation of references is incomplete, complex and sometimes redundantly implemented. The rules are simple:

a reference always refers to an object
a value of a reference type is by default assigned by reference
a value of a value type is by default assigned by value
the defaults can be overridden by the * (by value) and & (by reference) operators

This behavior must be applied to variables, members, elements and return values.
The current implementation allows for specifying one of the above operators on one side of the operand, and then deduces it for the other operand. In practice the rules for the deduction have become quite complex, and save at most one character. In the new design the reference/dereference operator is always applied to the right operand.
The redesign should also include a syntax for annotating a type to be a reference. An ideal syntax would be:
class Foo::
    m: uint32&

but this might not be possible in the current grammar.
A few examples with non-ref type variables
// Non reference type
struct Point::
    x, y: int32

Point p: 10, 20
var Point a
var Point& b
var Point& c

a = p // copy value
a = &p // invalid
b = &p // assign reference
b = p // copy value
b = null // assign null
b = c // copy value
b = &c // assign reference

Same example with reference variables
// Non reference type
class Point::
    x, y: int32

Point p: 10, 20
var Point a
var Point b

a = p // assign reference value
a = *p // copy value
a = b // assign reference
a = *b // copy value

The intermediate code format currently has three dereference modes: VALUE, ADDRESS and PUSH. VALUE and ADDRESS currently are determined using complex logic. They should follow the above example, where VALUE corresponds with '*' and ADDRESS with '&'.

The above design should be modified slightly. Instead of the right operand, the reference operators should be applied to the left operand in assignments. Consider the following code:
var string& s = string{"foo"}
s = null // set the value of the string object to null
s = &null // set the address of s to null

The &null looks strange since it looks like we're taking the address of a literal. The above code looks better if it's rewritten to:
var string& s = string{"foo"}
s = null // set the value of the string object to null
&s = null // set the reference to null

This is also more consistent with the declaration, which, depending on taste could now be rewritten as var string &s = string{"foo"}

When the usage of references doesn't match in an expression but there is no ambiguity then the parser shouldn't force a user to insert a '*' or '&'.
Example:
int32 a, b: 10
var object o = a // left-hand side is by reference, right side slaves to left side (no problem)

if o == a: // there is no ambiguity about how the compare should be executed
    ...

Such scenarios only occur when one of the operands is of the object type. Therefore, when one of the operands is of an 'object' type the other operand will automatically be used as reference - of course only when the other operand is a reference.

The assembler recognizes two properties that help in further qualifying how a storage should be addressed. These properties are reusable and isReference.
isReference is relatively straightforward. It determines whether the storage is, or points to, a reference. An object is a reference. A variable of a reference type is a reference. A variable of a reference to a non-reference type is a reference. The assembler will not use the actual type of a storage to determine whether it is a reference or not.
reusable is more subtle, and tells the assembler whether a storage address is static or not. Whether a storage address is or is not static determines whether it can be reused, or whether it has to be recomputed upon access. Determining whether a storage is reusable is closely tied with whether the storage depends on a reference storage.
A quick example that shows reusable and non-reusable storages:
class Point::
    x, y: int32

class Line::
    start: Point

var Line l = Line{Point{10, 20}}

l reusable == true              &l always points to the same address
l.start reusable == false       &l.start points to different address depending on l
l.start.x reusable == false     &l.start.x points to different address depending on l.start

The following condition determines whether a storage is reusable:
(s->kind == OBJECT) || (s->kind == VARIABLE) || (s->kind == ACCUMULATOR) ||
!s->base->isReference || s->base->kind == OBJECT

Notes of various combinations of reference and non reference types, and the corresponding VM code:
struct Point:: x, y: int32
struct Line:: start, stop: Point
var Line l = {{10, 20}, {30, 40}}
var int32 result = l.start.x
l addr=4 reusable=1
l.start addr=4 reusable=1
l.start.x addr=4 reusable=1
result addr=0 reusable=1
SET_LRR	0	4
var int32 result = l.stop.y
l addr=4 reusable=1
l.start addr=4 reusable=1
l.start.x addr=4 reusable=1
result addr=0 reusable=1
SET_LRR	0	16
struct Point:: x, y: int32
class Line:: start, stop: Point
var Line l = Line{{10, 20}, {30, 40}}
var int32 result = l.start.x
l addr=4 reusable=1
l.start addr=4 reusable=0
l.start.x addr=4 reusable=0
result addr=0 reusable=1
SET_LRQ	0	4
var int32 result = l.stop.y
l addr=4 reusable=1
l.stop addr=8 reusable=0
l.stop.y addr=8 reusable=0
result addr=0 reusable=1
MEMBER	8	4	12
SET_LRQ	0	8
class Point:: x, y: int32
class Line:: start, stop: Point
var Line l = Line{Point{10, 20}, Point{30, 40}}
var int32 result = l.start.x
l addr=4 reusable=1
l.start addr=8 reusable=0
l.start.x addr=8 reusable=0
result addr=0 reusable=1
SET_LRQ	8	4
SET_LRQ	0	8
var int32 result = l.stop.y
l addr=4 reusable=1
l.stop addr=8 reusable=0
l.stop.y addr=8 reusable=0
result addr=0 reusable=1
MEMBER	8	4	8
SET_LRQ	8	8
MEMBER	8	8	4
SET_LRQ	0	8

Issues with the scripting language are postponed.


Triple click + drag doesnt copy the selection

Testing #29483 on Windows

Triple click a line, right click on prompt: paste is succsesful
Triple click a line and drag to another line so now you have 2 lines in the selection, right click on prompt: the previous selection is pasted

Same goes for multi line selection using single click or Terminal: Select All


Package not published/found on npm public registry

I really like this idea! I was planning to implement it for a project and I found out that NPM throws a 404 when I try to install it, perhaps it's published under another namespace? or not published at all?
https://www.npmjs.com/package/@mixer/webpack-bundle-compare
$ npm i @mixer/webpack-bundle-compare --save-dev
npm ERR! code E404
npm ERR! 404 Not Found: @mixer/webpack-bundle-compare@latest

Thanks for opening an issue! This has now been published.


Prevent cached files from being flagged

GData Internet Security flags up files written to the cache, whether using this package or not.
GData considers the files to be trojans.
I wonder if it is the application/octet-stream MIME type still present in the file?

It could be, however I am not sure how to bypass that. I can change the application/octet-stream MIME type that is saved in the browser's cache, I do not know however if that is wise or if that it will fix this issue.
In any case it must be investigated more.

Without using the cache in service-worker the package seems to work for me (at first sight) with GData Internet Security.

There is a new beta version (1.7.1-beta) of this package that should take care of this problem. It replaces the default Blazor caching with a custom one that stores the obfuscated files in the cache instead of the unobfuscated ones.
Could you give it a try and see if it works for you?

This is now released in version 1.7.1 and should be solving this issue. Cheers!

Yes, I can confirm it works for us, thanks!
For clarity, as this replaces the default Blazor caching, should  be true or false?

It should be true unless you want to disable it. It behaves as the default Blazor caching would.
If you add the <BlazorCacheBootResources>false</BlazorCacheBootResources> then the custom caching is disabled (just as the default one would).


about entropy calculation.

Hello, Wang. Long time no see. I have to bother you again!
When calculate contrast loss, we need to get the entropy map and filt it with alpha_t, with this code below:
                    prob = torch.softmax(pred_u_large_teacher, dim=1)
                    entropy = -torch.sum(prob * torch.log(prob + 1e-10), dim=1)

                    low_thresh = np.percentile(entropy[label_u_aug != 255].cpu().numpy().flatten(), alpha_t)
                    low_entropy_mask = (entropy.le(low_thresh).float() * (label_u_aug != 255).bool())

                    high_thresh = np.percentile(entropy[label_u_aug != 255].cpu().numpy().flatten(),100 - alpha_t)
                    high_entropy_mask = (entropy.ge(high_thresh).float() * (label_u_aug != 255).bool())

                    low_mask_all = torch.cat(((label_l.unsqueeze(1) != 255).float(), low_entropy_mask.unsqueeze(1),))
                    high_mask_all = torch.cat(((label_l.unsqueeze(1) != 255).float(), high_entropy_mask.unsqueeze(1),))

But I save the output of low_mask_all and high_mask_all, I found something strange.
For example, as we know that the ideal entropy map should be tend to be 0 at every class, but at least we want that low-entropy representations the target classes we want.
And the result  low_mask_all shows nothing (all zero map), but high_mask_allshows the frame of the segmentation target! why? Is it the converse of the real result,
like that low_mask show the frame of the objects,
and high_mask maybe looks like pepper-salt noise or sth.
Best,

Sorry, it seems that I fail to get your problem... Could you provide a further explaination?
Did you mean that low_mask_all equals to 0 at each pixel?

Sorry I missed some variables, I mean low_valid_pixel comes from ** low_mask_all** .
I means that low_entropy_mask is very important and when it multiply with label_u, we can found it easier to get the object outline with saving low_entropy_mask and high_entropy_mask,
but the result is very unexpected and unreasonable, while low_valid_pixel mostly all equals to zero as each pixel, and high_valid_pixel show the outline of the objects. And our problem is to made the objects to be segmented be low entropy, right? so they should be "True" in low_valid_pixel.
And with the figure of low_entropy_mask I saw that the object pixels are 0(False) while high_entropy_mask is 1(True).

You could print alpha_t while training.
In fact, it is true that low_mask_all and high_mask_all indicate reliable and unreliable pixels respectively.
However, the low_mask_all is defined as the top alpha_t% RELIABLE pixels, which means if alpha_t equals to 10, 10 percent of low_mask_all should be 1 and the remaining should be 0.
And the high_mask_all is defined as the top alpha_t% UNRELIABLE pixels, which means if alpha_t equals to 10, 10 percent of high_mask_all should be 1 and the remaining should be 0.
I'm not sure about the meaning ``low_valid_pixel mostly all equals to 0 as each pixel''. Did you mean that only 10 percent of low_valid_pixel equals to 1 (when alpha_t equals to 10)? If so, this result is as expected.
Or, could you provide the figure of masks you have saved and the corresponding input image?
Usually, the center of an object would be reliable and the borders of objects might be unreliable.
Take Fig. 2a in our paper as an instance, the blue pixels are tend to have low entropy scores, while the red ones are unreliable pixels.

Yes, thanks a lot.
with low_mask_all and high_mask_all selected top ALPHA_T% pixels at each time, and it can be counted at varaible ** low_entropy_mask**, but when run
low_mask_all = torch.cat(((label_l!=255).float().cuda(),low_entropy_mask), dim=0)
low_valid_pixel = torch.cat((label_l, label_u), dim=0) * low_mask_all
low_valid_pixel mostly got 0 at foreground classes, but in background classes can saw the borders(which fit fig.2a's describtion). And label_u means pseudo-label from teacher model's inference, and I make sure that it's almost correct segmented.
But when run low_valid_pixel, there is only 3.3%(I set alpha_0 as 20%) pixels got True boolean while others got zero, and I don't think it reasonable, and this is why my contrast loss all goes to 0.0 and do nothing with model.

and low_valid_pixel is the metric shape as [Batch_size, num_classes+1, H, W], right? and each shape[1] means the this is the low_valid prediction for each classes. But it only shows at the first num_classes which means background.

It seems that I fixed this problem, when run
    low_valid_pixel = torch.cat((label_l, label_u), dim=0) * low_mask_all
    high_valid_pixel = torch.cat((label_l, label_u), dim=0) * high_mask_all
and put that mask on label_u, we should get the image looks like fig.2b as paper said. And my work is not to work on RGB iamge but grayscale image. So I have to change the ignore index from 255 to 0(background), after that I think I got the correct map looks like fig2.b, that is low-entropy pixels inside the object while high-entropy pixels are the border of objects.
Thanks for your inspiring suggestion!


Remove .changed case from long press recognizer

Fixes an issue that some people were having with recording videos that caused the SwiftyCamButton to stop recording from a slight change in long press position.
@Awalz

@petermarathas Thanks for this fix! Would you mind updating your branch so it's in sync? We can get the changes merged in after that

@jonandersen Yep

@petermarathas thanks a lot!


Breakpoints in grid.less do not match AEM UI Layout Editor

Expected Behavior
Labels shown for "Smaller Screen" and "Tablet" should match the breakpoint values in grid.less
Actual Behavior
Breakpoints shown for the labels in Layout Mode do not match the breakpoints provided in grid.less
Archetype changed default breakpoint in grid.less which no longer matches labels in Layout Mode or OOTB AEM Grid sample (https://adobe-marketing-cloud.github.io/aem-responsivegrid/)
Original grid.less was phone (max-width: 768px) and tablet (min-width: 769px) and (max-width: 1200px), but was updated to phone (max-width: 650px) and tablet (min-width: 651px) and (max-width: 1200px)
https://github.com/adobe/aem-project-archetype/blob/6978b1f890a14c46aa476aa8f5ca9bd6ad8de798/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/clientlibs/clientlib-grid/less/grid.less#L28-L39
Why were the responsive values for the archtype changed to these, and why does the archetype generate a different breakpoint than that which is seen in the AEM UI for Layout Mode?

We should also align the default OOTB breakpoints with the most common use cases. Many frameworks use 768px, 992px and 1200px
https://ricostacruz.com/til/css-media-query-breakpoints


PhotoViewGallery minScale

How I can restrict image to zoomout from its initial scale ?
My Code:
[
PhotoViewGalleryPageOptions(
initialScale: PhotoViewComputedScale.contained,
minScale: PhotoViewComputedScale.covered,
imageProvider: NetworkImage(imagePath),
heroTag: "tag1",
)]
I have tried from both properties i.e. covered and contained but I am able to zoom out the image as much as I can zoom out.

"How I can restrict image to zoom out from its initial scale?"

You should pass the same value in both initialScale and minScale.
[PhotoViewGalleryPageOptions(
  initialScale: PhotoViewComputedScale.contained,
  minScale: PhotoViewComputedScale.contained,
  imageProvider: NetworkImage(imagePath),
  heroTag: "tag1",
)]

Which version of PhotoView you are using btw?

Still the same issue. I am using ^0.2.1 version. My overall code is mentioned below. Also Please advise me how I can show the image in full container height . Right now there are some extra background spacing showing from top and bottom.
return Stack(children: [
Padding(
padding: const EdgeInsets.all(0.0),
child: Container(
height: screenSize.height / 1.9,
child: PhotoViewGallery(
pageOptions: [
PhotoViewGalleryPageOptions(
initialScale: PhotoViewComputedScale.contained,
minScale: PhotoViewComputedScale.contained,
imageProvider: NetworkImage(imagePath),
heroTag: "tag1",
),
],
backgroundDecoration: BoxDecoration(color: Colors.white),
)))]);

@renancaraujo any solution?

That depends on the relation between the ratio (width/height) of both container and image. If the ratio is smaller than the container, you should change the values in initialScale and minScaleto PhotoViewComputedScale.covered

@AhsanKhan231 Any update on this? I will close this issue for now. If you consider your question not solved, feel free to reopen it and let's move forward with the discussion.

That depends on the relation between the ratio (width/height) of both container and image. If the ratio is smaller than the container, you should change the values in initialScale and minScaleto PhotoViewComputedScale.covered

I didn't get this part. Can you please explain the difference between covered and contained, please?

@dpedrinha It is how the image is scaled in relation to the container.
Contained: As large as possible while still containing the source entirely within the target box.
Cvoered: As small as possible while still covering the entire target box.

It is soimilar to how BoxFit fits image.

I see.
So contained may have empty spaces to show the entire image while covered may have some clipping to fill the entire parent. Right?
Thanks for clearing it up.


Make sure Managed SDK listener state is accessed from UI thread.

Fixes #2087.

Managed SDK is thread confined and should be accessed from UI thread, but the call to remove the listener ended up outside of invokeLater() and happens on background process thread - this led to the exception you saw, this is quite hard to hit but it was possible.


Add icebox command

Add icebox command to comment, label and close an issue from one command instead of ping facebook bot serveral times. The goal is to reduce ping pollution, see the current implementation.
Will be used by the Iceboxer script for people who only have access to the @facebook-github-bot.
cc @mkonicek

Thanks!
@facebook-github-bot shipit


Qpy 0.21 updates

Summary
Copy over QPY updates from qiskit terra 0.21.0.
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

336 of 775 (43.35%)  changed or added relevant lines in 8 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-3.6%) to 62.308%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/qpy/interface.py
40
49
81.63%

qiskit_ibm_runtime/qpy/binary_io/value.py
43
70
61.43%

qiskit_ibm_runtime/qpy/common.py
18
55
32.73%

qiskit_ibm_runtime/qpy/binary_io/circuits.py
82
190
43.16%

qiskit_ibm_runtime/qpy/type_keys.py
100
221
45.25%

qiskit_ibm_runtime/qpy/binary_io/schedules.py
27
164
16.46%

Files with Coverage Reduction
New Missed Lines
%

qiskit_ibm_runtime/qpy/binary_io/value.py
2
64.85%

qiskit_ibm_runtime/qpy/binary_io/circuits.py
3
48.53%

Totals

Change from base Build<PHONE_NUMBER>:
-3.6%

Covered Lines:
2840

Relevant Lines:
4558

💛  - Coveralls


css class to style an element

Challenge Name

https://www.freecodecamp.com/challenges/use-a-css-class-to-style-an-element#?solution=


Terminus 0.9.3 guzzle 6 upgrade breaks wake()

  /**
   * "Wake" a site
   *
   * @return [array] $return_data
   */
  public function wake() {
    $hostnames   = $this->getHostnames();
    $target      = key($hostnames);
    $response    = Request::send("http://$target/pantheon_healthcheck", 'GET');
    $return_data = array(
      'success'  => $response->isSuccessful(),
      'time'     => $response->getInfo('total_time'),
      'styx'     => $response->getHeader('X-Pantheon-Styx-Hostname'),
      'response' => $response,
      'target'   => $target,
    );
    return $return_data;
  }

isSuccessful() and getInfo() were removed in Guzzle 6
https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#responses

cross post: https://github.com/pantheon-systems/terminus/issues/206  sorry bout that.

I pulled in your PR @pirog and there's another open to update the syntax to our current Request class syntax.
https://github.com/pantheon-systems/cli/pull/707

I still get the error after trying #705 fix.  I'll wait until #707 is merged and try again.

@danshumaker https://github.com/pantheon-systems/cli/issues/705#issue-118225339 is not a fix, its the code from 0.9.2.
#706 has a fix for now


Not working with bootstrap scrollspy

Hi. Thanks for this ember add-on. I'm having difficulty using it in conjunction with bootstrap scroll-spy. Here is my template markup.

            {{#infinite-scroller on-load-more=(action 'nextPage') as |scroller|}}
                {{#each model as |material|}}
                        {{#link-to "materials.detail" material class="list-group-item"}}
                                {{material.code}}

{{material.name}}

                                    {{material.category.value}}

                        {{/link-to}}
                {{/each}}
            {{/infinite-scroller}}

The nextPage action is not triggered when I reach the bottom of the scroll box. I know my controller action setup is working fine when I set use-document=true and scroll to the bottom of the page the action triggers correctly. I need to get it working on my bootstrap scroll box though? Is this an issue or have I just done something silly.

Can you replicate it for me in a Twiddle?
I've done some groundwork, but if you could make it fail that would help, cheers:
https://ember-twiddle.com/f83ebcd9809a161dc8475b35a83a3700?openFiles=templates.application.hbs%2C

@amk221 , Thank you for the response. I immediately discovered my error when looking at the ember twiddle you set up. I did not declare the .infinite-scroller class in my app.css. It now works perfectly. Is it possible to define a custom css target besides .infinite-scroller? The documentation seems to suggest there is but I can't quite figure it out? None the less, thank you for your assistance. Please go ahead and close this issue after your response. It turned out to be no issue at all, just human error.

Sure, you can't remove infinite-scroller class, but you can add another one with
{{infinite-scroller class="my-class"`}}


Failure on Create/Update Datasets

I live and work in mainland China, so there comes a dilemma.
My dataset contains many pictures with around 20GB(zipped). When I tried to upload the whole zip file, the kaggle website got into extreme lagging, and the progress bar did not move even with several hours elapsed (this problem happens both with and without VPN) .
However, when I tried to upload the pictures one by one, it seems to work, but  kaggle website doesn't provide a file refactoring function, that means I cannot create a new blank folder and move data into it online. (Or if I was so blind that I didn't notice this function?)
When I get my VPN unlaunched, the command line tells me that I encountered a connection error(Win 10054), that means an existing connection was forcibly closed by the remote host.
When I get my VPN launched, Python threw an error that check_hostname requires server_hostname. When I tried to solve this problem, the Internet tells me either to close VPN, or to add VPN server port to a certain configuration file. However, I didn't find this config file of kaggle, and I even cannot understand what is my VPN's server port.
So it comes into a dead cycle. How can I upload the files?

the same issue. When I upload my datasets:
with VPN unlaunched, the error message is ProtocolError('Connection aborted.', ConnectionRese tError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
with VPN launched, the error message is SSLError(SSLEOFError(8, 'EOF occurred in violation  of protocol (_ssl.c:1129)'))
I have tried to set proxy configuration but it is of no use.
My python version is 3.9.11 and the kaggle api version is 1.5.12, on win 10 OS


Incorrect song downloaded?

If you have a song that was downloaded and it was incorrect, can you please comment its URI here. To get the URI, right click the song in spotify and click "Copy Spotify URI"
The URI should look like this: spotify:track:48gAcPH3stFshFnGDvo6SQ

spotify:track:38aECKrbMv2F5FsYYCewCQ

@Mercifies Ok, try just download that song again and it should work. Sometimes it misses a song. Also when you try download it this time, tell me if it downloads with Source 1 or Source 2 and if its now correct.

Source 1, same problem it downloads the clean version instead of the explicit one.

@Mercifies ahh thats the problem, I will have a look and see what improvements I can do to make sure it get the correct song

spotify:track:5nUfNGd4lftqnoHhELSOGl downloaded to source one. The beginning of the song pans left and right but the spotify song does not. Any idea on how to fix?

What is the music source? Where is it actually downloading these tracks from?

@Sean-Cesmat Look at the ReadMe

spotify:track:6mi2GNjJ138Chzl0ed96kE


Symbol locations in generated docs don't match intended locations

The generated API docs show functions and classes as being located at the regions of the namespace where their source files reside. For example, the docs for the Span class reference that class as text_extensions_for_pandas.array.char_span.Span even though we export this class at the top level of our namespace as text_extensions_for_pandas.Span.
The locations of symbols in the API docs should match the locations where we intend users to access them from.

I am looking into this.


Soft token

Thanks for this feature!

Do you mind pushing this version to PyPI?

Sure thing, released as 1.41, thanks again!
On Wed, Dec 11, 2019 at 11:37 AM Steven Stelmach<EMAIL_ADDRESS>wrote:

Do you mind pushing this version to PyPI?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mrooney/mintapi/pull/193?email_source=notifications&email_token=AAA6GRLGQS44GRXM3ZLR4IDQYEQNZA5CNFSM4JZCQ2UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGT6XEI#issuecomment-564652945,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA6GRPNU3OZBEAQXRJ72OLQYEQNZANCNFSM4JZCQ2UA
.


create deploy/ansible/ directory with stellar-core setup

initially this directory includes playbooks and roles to deploy:
stellar-core + horizon for multiple network (passphrases)
and on multiple regions.
sensitive configuration is saved on AWS SSM Parameter Store.
see specific roles that handle getting/putting information from/to there
will update this directory with additional host inventory in future commits
also add a testing setup using docker for deploying playbooks locally. don't freak out from the ssh key committed here - it's for ansible to ssh and deploy into the docker container for testing
this speeds up development a lot. see deploy/image/ directory
also note the timesyncd role which replaces ntp from here on, and uses AWS default NTP address which doesn't require any security role to set up

I went over this swiftly. Overall looks good. You made smaller role modules this time, no?

@doodyparizada yes, easier to re-use and serve as a guide for others.

@gadisr please review as well


The project don't have any C++ files

, but how I understand huge part of all hiden inside of BP

This project don't need C++, I'm only using native features from UnrealEngine.
The uproject enable RawInput plugin (comes disabled with UE4 and UE5) and have all necessary project settings to make UE5 Enhanced Input work with DualShock4, the BP is just an UserInterface HUD to see each button and axis pressed.


new(ci): initialise Jenkins pipeline for sub components

Description
Initialising Jenkins pipeline that sources the centreon-frontend centreon-build repositories and launching npm scripts for centreon-ui and ui-context packages.
Type of change

[ ] Patch fixing an issue (non-breaking change)
[ ] New functionality (non-breaking change)
[ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software
[ ] Updating documentation (missing information, typo...)

Target serie

[ ] 20.04.x
[ ] 20.10.x
[ ] 21.04.x
[x] 21.10.x (master)

 How this pull request can be tested ?
Launch a build from centreon-frontend master branch In Jenkins "Centreon Frontend" Job.

Is there any update about this PR ?

@Thebarda i'm on it, it will be available this week.


How to do a large amount of generation?

I've tried batch count but it only repeat one prompt for multiple times.
What is I would like to generate 200+ different photos automatically?

It sometimes fails since the batch count is part of the prompt. I usually make it generate 6 or 8 versions, and just right click Generate and select "run forever".

But it could be to many for an overnight running...


Implement configurable notifications on releases / tags.

It could be nice to receive notifications on new releases.

This feature seems to be already implemented?

True


Add script for creating Persistent Volumes

Create a script in /utils/ that will allow you to create the NFS export and a PV attached to the NFS export to ease life of users.
Optionally, use the script for provisioning the 5 initial PVs.

Done.
Need to be root.
/scripts/nfs/create-nfs-volume <VOLUME_NAME>


Error on run tests in directory with spaces in name

Hi, i think that the title is self explained about the problem that i´m was talking.
The error occour when use "F1" and select "PHPUnit Test" in a directory with spaces on the name.
Well... i´m opened the plugin source code and spend an hour in debug and i guess that i´ve found how to resolve this issue:
I think that this will resolve this case.
:)
In phpunittest.ts file, inside function resolveContextArgs, before return args;
 public async resolveContextArgs(type: RunType, config): Promise<string[]> {

...

  if (args.length > 0) {            // new
    args[0] = "'" + args[0] + "'";  // new
  }                                 // new

  return args;
}

Hi, I released an update today which should fix your issue. There might still be some problems if the path to your project has spaces in the name. Then please set absolute paths for all config vars you use and use the windows short path.


Compile for android x86_64

My hope is that this would allow running in an x86_64-based emulator.  I think my local ndk/cmake setup is borked, so I'm getting compilation/link errors locally.
Hopefully I can pull the binaries from appveyor.

@mellinoe it looks like it might just work 😉

Do you want this change too?
P:\veldrid-spirv>git diff --staged
diff --git a/build-local-package.cmd b/build-local-package.cmd
index efa1576..948233e 100644
--- a/build-local-package.cmd
+++ b/build-local-package.cmd
@@ -1,6 +1,6 @@
 @setlocal
 @echo off

-call .\build-native.cmd Release x86
-call .\build-native.cmd Release x64
+call .\build-native.cmd Release win-x86 --artifact-name build\Release\win-x86\libveldrid-spirv.dll
+call .\build-native.cmd Release win-x64 --artifact-name build\Release\win-x64\libveldrid-spirv.dll
 call dotnet pack -c Release src\Veldrid.SPIRV\Veldrid.SPIRV.csproj
diff --git a/build-native.cmd b/build-native.cmd
index f0605f3..f338914 100644
--- a/build-native.cmd
+++ b/build-native.cmd
@@ -59,6 +59,7 @@ cmake --build . --config %_CMAKE_BUILD_TYPE% --target veldrid-spirv
 popd

 if defined _ARTIFACT_NAME (
+  For %%A in ("%_ARTIFACT_NAME%") do (mkdir %%~dpA)
   echo "Copying %_ARTIFACT_SRC% -> %_ARTIFACT_NAME%"
   copy %_ARTIFACT_SRC% %_ARTIFACT_NAME%
 )

I found the params were wrong and the built libraries weren't where they were expected to be when using build-local-package.cmd.

Sure, feel free to create a new PR. I don't think build-local-package.cmd has been used all that often so I'm not surprised there are issues.


[tests-only] [full-ci] Cleanup spaces in all local API test suites

Description
There is AfterScenario in SpacesContext that calls deleteAllProjectSpaces and deleteAllPersonalSpaces to cleanup properly at the end of each scenario. See PR #4441 for the latest version of that code.
But SpacesContext is not currently used in the other local API test suites. But those test suites do create users, and those users have a personal space. Those suites do not create project spaces - so deleteAllProjectSpaces will have nothing to do, that is OK. But it will be good for deleteAllPersonalSpaces to run in those test suites.
This PR adds SpacesContext to those test suites. That will cause the AfterScenario to be found and to be run.
This is a follow-on related to issue #4390
How Has This Been Tested?
CI
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)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

strange, CI is failing, maybe you've to add OCS context too

yes, the setupScenario stuff gets called now. I added OCSContext


Intermittent SSL errors while calling ElasticSearch Cluster

NEST/Elasticsearch.Net version: 7.7.1
Elasticsearch version: 7.7 (TLS support 1.0 and above)
Description of the problem including expected versus actual behaviour:
I have aspnet core client, that is calling ElasticSearch cluster. What I notice is, every once in a while, some requests return SSL errors.

Here we can see 8 of these errors occurred.
Expected behaviour
SSL errors should not happen intermittently.
Client setup:
the client is registered as follows:
services.AddSingleton(sp =>
{
var connectionPool = new SingleNodeConnectionPool(new Uri(serviceEndpoints.ESUrl));
var settings = new ConnectionSettings(connectionPool);
return new esclient(settings);
});
Provide DebugInformation (if relevant):
Part of the stack trace
---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) ```

I wonder if the TLS used by the client is NONE at times ?
https://docs.microsoft.com/en-us/dotnet/api/system.security.authentication.sslprotocols?view=netcore-3.1#System_Security_Authentication_SslProtocols_None
Thanks in advance !

HI @sandeeppnaik.
The client defers to the underlying HttpClient or HttpWebRequest defaults for TLS. This will be consistent across all requests. The fact this is occurring intermittently leads me to suspect an issue between the client and server.
A few initial questions:

Which version of the .NET Core runtime are you using for the ASP.NET Core app?
Where and how is the client app being deployed?
Where is the Elasticsearch cluster running (on-prem, cloud) and is it self-managed or hosted?
How many nodes are in your cluster?
Since you're using the SingleNodeConnectionPool - Is Elasticsearch behind a load balancer/proxy?
Where is TLS terminated in your architecture?

Thanks @stevejgordon , I believe it would use the OS's TLS version

Which version of the .NET Core runtime are you using for the ASP.NET Core app?
a. The run time is aspnet core 3.1

Where and how is the client app being deployed?
a. The app runs in a kubernetes pod, the container base image is mcr.microsoft.com/dotnet/core/aspnet:3.1
the TLS versions on the container are
command: openssl ciphers -v | awk '{print $2}' | sort | uniq
SSLv3
TLSv1
TLSv1.2
TLSv1.3
Where is the Elasticsearch cluster running (on-prem, cloud) and is it self-managed or hosted?
a. The cluster is running on AWS elasticsearch service
How many nodes are in your cluster?
a. 3 master and 8 data Nodes
Since you're using the SingleNodeConnectionPool - Is Elasticsearch behind a load balancer/proxy?
a. I guess it runs behind a load balancer. The load balancer configuration is internal to AWS. The team at AWS has confirmed there are no errors reported on the Load balancer. To back that, when I look at the trace of this request, I don't see it going further beyond this app.
Where is TLS terminated in your architecture?
a. My guess is TLS might be getting terminated on the Load balancer before  the ES cluster

OK, my analysis on the trace is incorrect. Please ignore that.

@sandeeppnaik - From a quick review of the runtime source code, for .NET Core 3.1+ it seems that the following defaults are applied for SslProtocols if not explicitly configured. We don't configure this within the client and rely on the .NET defaults to control this behaviour.
Tls | Tls11 | Tls12 | Tls13

During the handshake, the client sends a list of SSL versions and the server chooses the best matching version from that list, so this should be correct.
I can't speak to how the AWS Elasticsearch Service is configured for TLS or networking, but my best guess is that something might be misconfigured or intermittently failing. Is this a new issue or has it always been present? If the client configuration were incorrect then I'd expect this to fail consistently for all requests. I'd recommend raising this with AWS to see if they can identify why the TLS negotiation is sometimes failing.
The Elasticsearch clients go through rigorous testing and validation against the official Elasticsearch distribution coming from Elastic. Since the AWS Elasticsearch Service has incompatible APIs with Elasticsearch itself, either by missing APIs or has an incompatible format, we do not support it. Please consider using Elastic Cloud for an official and formally supported hosted Elasticsearch distribution.

Thanks Steve, I will post an update here once I solve this mystery !

@sandeeppnaik I'll close this issue for now but please do feel free to update with any further details that may assist others if they run into this.


Business pages

-mutations & queries for business pages
-business pages resolver & services

Please, add query and mutation tests for the business text

Please, add query and mutation tests for the business text

Okay, working on it


DEV: Introduce http_gc_duration_seconds, http_gc_(major|minor)_count metrics

Why this change?
These metrics being introduced will allow us to understand the impact
that Ruby's GC has during a request and allows us to tune our GC in
production.

Thank you for the review @ZogStriP


fix: strip  tags from textual error messages

This is a minor follow-on to PR #5623.
As Jennifer noted, there are hard-coded
 tags in the cutoff warning message. This converts them to spaces for API submissions, for a slight cleaner look.
There may be other html that we might want to sanitize, but this is the least-effort, least-impact change.

I'm going to close this without taking it in. We can live with the
 in the json respones for now.
We'll come back to this with a more comprehensive effort identifying places like this where html markup should be avoided or replaced with markdown.


WIP: Compute type relations for variables in result builders with buildBlock

@swift-ci Please SourceKit stress test


Improve LSP completion using scene owner

This is a small improvement for going towards to fix #36473, this PR gives some quality of life for LSP users when the corresponding scene is currently active in Godot Editor we can have auto-completion for Node properties and methods.
Fixes: #36473
Fix godotengine/godot-vscode-plugin#150

@Geequlim I made some tests with this small change and looks like is working pretty well

@rafaeldelboni
You can try code the node path which is not attached to the scene. Can you get node paths from the scene ? I don't think it is expected behavior as it may cause bugs by mismatching node path.
But is meaningful when we coding the script attached to the scene the godot editor current opened. But there should be a way to check that.

@Geequlim
Without a scene attached it works as before:

But attached to a different scene it shows up wrong suggestions:

EndSound is not in the Player scene

But attached to a different scene it shows up wrong suggestions

This is what I concern about

Do you know how did the current built-in editor works? Because it feels it use the same source to get the active scene.

Godot editor can switch and active the attached script when open a scene.

Hey @Geequlim I changed the strategy for getting the owner of a script, I'm using a logic based on the same logic used by the editor to get the owner file path of a file and them I get a node instance of the owner and pass it forwards to the code completion method.
WDYT?

@Geequlim
I've been working with the "patched" version all day following a book for learning the engine and I can confirm is working pretty well, after the patch I don't have to care which scene is active on editor anymore and I'm getting always the right completions.
I tested with an orphan script as well (script not attached to any node) and it behaves as usual.

I just had a problem trying to free owner_node of an orphan script because it was null I surrounded it with an if and is working again.
As you can see in the print below, an orphan script does not show suggestions for nodes stuff.

Fix https://github.com/godotengine/godot-vscode-plugin/issues/150

Thanks!

Cherry-picked for 3.2.2.


Added missing comments to phpDocs

Hello! I very often create my own migrations using the vendor/bin/phinx create CreateTestTable command and it creates the next class.
<?php

use Phinx\Migration\AbstractMigration;

class CreateTestTable extends AbstractMigration
{
    /**
     * Change Method.
     *
     * Write your reversible migrations using this method.
     *
     * More information on writing migrations is available here:
     * http://docs.phinx.org/en/latest/migrations.html#the-abstractmigration-class
     *
     * The following commands can be used in this method and Phinx will
     * automatically reverse them when rolling back:
     *
     *    createTable
     *    renameTable
     *    addColumn
     *    renameColumn
     *    addIndex
     *    addForeignKey
     *
     * Remember to call "create()" or "update()" and NOT "save()" when working
     * with the Table class.
     */
    public function change()
    {

    }
}

This code is correct and simple, even contains a detailed PHPDocs.
I want to create a new table test and add an integer numeric field "num" to it.
    public function change()
    {
        $this->table('test')
            ->addColumn('num', 'integer')
            ->create();
    }

This will also be a valid code, migration is correctly executed. But comments in the PHPDocs will be incorrect. It will be necessary to add the following text to the commentary.
/**
     * @throws \InvalidArgumentException
     * @throws \RuntimeException
*/

And these actions must be repeated each time the addColumn method is used in the migration. If you do not do this, my code editor (PHPStorm) swears at the line with the call to the addColumn function.

And most developers are faced with this problem when writing their migrations. I propose to simplify the writing of migrations and to indicate this text in advance in the comments. This does not make the migration code complex, but it helps when writing migrations.
I propose the simplest and most obvious solution to this problem.

Closing as throws should really mainly be for the ones implementable, not the real error cases not to be handled.


i18n(fr): update guides/server-side-rendering.mdx

Description (required)

Updates Response section with changes from #9700
Adds missing Steps component added in #8167
Fixes some typo, a broken external link and a broken Markdown link
Slightly rewords some passages

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/server-side-rendering.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Performance

Hi, first thanks for putting this plugin together! It's very helpful to have.
I wanted to also report what I think is a performance issue related to the plugin: it seems that when it's installed and detects the Astro filetype scrolling becomes quite choppy. Disable the plugin and the issue goes away.
For context here, I'm using Neovim 0.7.x via tmux 3.2a and kitty 0.25.x. I do have a number of other plugins installed, but this is the first time I've noticed any kind of detectable performance degradation.
If there's any more detail I can provide, I'd be happy to.

Not sure if it's related, but for me the performance seems great, but some highlighting is off:

I think this might be caused by using TypeScript but not enabling TypeScript in vim-astro.
When I do enable TS, using the following:
let g:astro_typescript = 'enable'

I can't even open the file that contains the above code. The process seems to hang forever!

I ended up foregoing this plugin and using treesitter directly (via lspconfig and mason-lspconfig specifically); it works great and of course the performance of treesitter is just about as good as it gets. I'm not seeing any visual highlight issues like that after using it for the last two weeks.

Performance doesn't seem to be issue. I've been using a nvimdots setup with excellent initial treeseitter config.
Before I used this plugin with nvchad no performance issues. But wanted to see if I could get path resolve working again
Looking for ideas I came across this
https://stackoverflow.com/questions/51272493/resolving-javascript-modules-via-gf-in-vim-when-using-a-webpack-tilde-alias
I think a previous setup I had working was borrowing vscode extensions. The resolve feature has stopped work in vscode too. I'm baffled maybe the link will solve my issues
Just feedback from my experience of the plugin


Add basic environment lighting

Add the ability to specify an image to use as a faux HDRI.
For the initial implementation, just do equirectangular sampling for the specular component (shiny). Don't worry about accurate diffuse sampling.
Later on, we can expand this functionality to properly preprocess the image into a mipmapped cubemap with progressively blurrier mip levels with higher roughness.

Basic environment lighting is done.


Project finish brainstorm - 4/10/2015 2:00pm at BIDS

Hey folks - just a reminder that we'll be meeting tomorrow at 2:00pm at BIDS. Let me know if you will not be able to be there in person.
Here's what we'll cover:

Project updates and recap. I've got the presentation I gave at BIDS, but any new results are encouraged.
Come up with goals for each sub-project. Think about results that would be useful for Andrew.
Plan the documentation / wrapping up phase of this project.

Let me know if I'm missing anything, or if you want to make suggestions to the plan.
@berkeley-dsc/purchasing

I'll need a call in number, @choldgraf.

Call-in number is: https://bluejeans.com/8816518516

Network analysis

Structural equivalence measure - how similar are two departments in time
Pick similar suppliers and see what connections they have to departments. Find examples of lots of departments who are using similar, but separate suppliers and see if we can clump them together.
Look into niche suppliers (on the edges of graphs)
Come up with a tool that makes it easy to filter graphs, plot them by month etc, and calculate some simple statistics. Do the filtering on the front end, and then have the network stuff just work on whatever is fed into it. Maybe give some flexibility for deciding "distance" between things, and look into building weighted graphs.
come up with how spread out a given product type is across lots of departments (as a measure of how complex a bid would be)

Clustering

See if there are "needs" that the clusters represent.
Is a PO "software"? What about "printer supplies"?
Use data that's already categorized to try and create a "test set"
Classify PO lines, not just POs
See how we can make the clusters intuitive
See if POs in a cluster are split between multiple suppliers

Time to completion

Spend vs. quantity x unit price - spend is the amount paid so far, quantity * unit price is the total committed amount
Need some way to scale by size of department, # of personnel, etc.
Use this to find "Blanket POs" - get blanket PO details from Andrew
Come up with a list of blanket POs and their % complete
Keep brainstorming efficiency metrics, and then cluster departments together based off of this

Time classification

Break up the yearly purchasing behavior by product type (or custer, or manufacturer) rather than by department
Identify people at the time that they have a need for something, and use this to determine when "need" on campus is highest for a given thing.
Also try filtering out all suppliers of a particular type first, and then see what the behavior over time is like.
Create a way to quickly create these graphs and clusters after filtering out different kinds of groups.
Think about extending this to multiple campuses.

Hey all - meeting updates and final project goals have been updated. Give them a look and let me know if there are any questions. We can chat about this in the next group meetings, and I'll start thinking about putting together documentation and such for finishing up this project. See you guys soon!

Hey everybody - thanks again for making the final push to create some visualization etc. for the final project presentation, and thanks to @dariusmehri for presenting the network analysis slides. I appreciate your guys' hard work on this project!
If you are curious, I've put both our project's final poster and our final presentation on the group's google drive.
As the semester finishes up, I want to remind everybody of final deliverables for Andrew. We need our code to be readable, intuitive, re-usable (to people other than ourselves), and semi-complete. This way he can make the most use of what we've done, and continue these projects into the future.
I know it's finals week, so if you guys can get this done by mid-late next week, that would be fantastic. Let me know if this sounds reasonable. Check out the comments above on this issue for inspiration.

hi chris, will do, i have lots of code i can put up on git, can you please
send a hard date so i can put in schedule, thks, darius
On Tue, May 12, 2015 at 11:00 AM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

Hey everybody - thanks again for making the final push to create some
visualization etc. for the final project presentation, and thanks to
@dariusmehri https://github.com/dariusmehri for presenting the network
analysis slides. I appreciate your guys' hard work on this project!
If you are curious, I've put both our project's final poster and our final
presentation on the group's google drive.
As the semester finishes up, I want to remind everybody of final
deliverables for Andrew. We need our code to be readable, intuitive,
re-usable (to people other than ourselves), and semi-complete. This way he
can make the most use of what we've done, and continue these projects into
the future.
I know it's finals week, so if you guys can get this done by mid-late next
week, that would be fantastic. Let me know if this sounds reasonable. Check
out the comments above on this issue for inspiration.
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-101366594
.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley

Sounds good, let's say Friday, May 22nd
On Tue, May 12, 2015 at 11:30 AM, dariusmehri<EMAIL_ADDRESS>wrote:

hi chris, will do, i have lots of code i can put up on git, can you please
send a hard date so i can put in schedule, thks, darius
On Tue, May 12, 2015 at 11:00 AM, Chris Holdgraf<EMAIL_ADDRESS>
wrote:

Hey everybody - thanks again for making the final push to create some
visualization etc. for the final project presentation, and thanks to
@dariusmehri https://github.com/dariusmehri for presenting the network
analysis slides. I appreciate your guys' hard work on this project!
If you are curious, I've put both our project's final poster and our
final
presentation on the group's google drive.
As the semester finishes up, I want to remind everybody of final
deliverables for Andrew. We need our code to be readable, intuitive,
re-usable (to people other than ourselves), and semi-complete. This way
he
can make the most use of what we've done, and continue these projects
into
the future.
I know it's finals week, so if you guys can get this done by mid-late
next
week, that would be fantastic. Let me know if this sounds reasonable.
Check
out the comments above on this issue for inspiration.
—
Reply to this email directly or view it on GitHub
<
https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-101366594
.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-101376853
.

ok, sounds like a plan, d.
On Tue, May 12, 2015 at 12:37 PM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

Sounds good, let's say Friday, May 22nd
On Tue, May 12, 2015 at 11:30 AM, dariusmehri<EMAIL_ADDRESS>wrote:

hi chris, will do, i have lots of code i can put up on git, can you
please
send a hard date so i can put in schedule, thks, darius
On Tue, May 12, 2015 at 11:00 AM, Chris Holdgraf <
<EMAIL_ADDRESS>
wrote:

Hey everybody - thanks again for making the final push to create some
visualization etc. for the final project presentation, and thanks to
@dariusmehri https://github.com/dariusmehri for presenting the
network
analysis slides. I appreciate your guys' hard work on this project!
If you are curious, I've put both our project's final poster and our
final
presentation on the group's google drive.
As the semester finishes up, I want to remind everybody of final
deliverables for Andrew. We need our code to be readable, intuitive,
re-usable (to people other than ourselves), and semi-complete. This way
he
can make the most use of what we've done, and continue these projects
into
the future.
I know it's finals week, so if you guys can get this done by mid-late
next
week, that would be fantastic. Let me know if this sounds reasonable.
Check
out the comments above on this issue for inspiration.
—
Reply to this email directly or view it on GitHub
<

https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-101366594

.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley
—
Reply to this email directly or view it on GitHub
<
https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-101376853

.

—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-101395680
.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley

Hi all - checking back in about the status of the final code for this project. I'd like to get something to Andrew asap so that he can start thinking about the next steps of analysis.
@dariusmehri @nlin3330 and @juanshishido, do you guys have anything ready yet?

Hi @choldgraf,
Thanks for following up. The code in the scripts folder is the latest version. I'd been creating and updating the script in parallel with the notebook. You can find it here: https://github.com/berkeley-dsc/purchasing/blob/master/script/purchasing_lda.py.
Thanks!

hey chris, will get to it later today, sorry for the delay, darius
On Fri, May 29, 2015 at 6:28 PM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

Hi all - checking back in about the status of the final code for this
project. I'd like to get something to Andrew asap so that he can start
thinking about the next steps of analysis.
@dariusmehri https://github.com/dariusmehri @nlin3330
https://github.com/nlin3330 and @juanshishido
https://github.com/juanshishido, do you guys have anything ready yet?
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-106970853
.

--
Darius Mehri
Visiting Scholar, Sociology Department
University of California, Berkeley

hey chris, ok, i just made my first commit to git, data cleaning for
network analysis, will get the rest of the code up there tonight, darius
On Mon, Jun 1, 2015 at 1:10 PM, Darius Mehri<EMAIL_ADDRESS>wrote:

hey chris, will get to it later today, sorry for the delay, darius
On Fri, May 29, 2015 at 6:28 PM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

Hi all - checking back in about the status of the final code for this
project. I'd like to get something to Andrew asap so that he can start
thinking about the next steps of analysis.
@dariusmehri https://github.com/dariusmehri @nlin3330
https://github.com/nlin3330 and @juanshishido
https://github.com/juanshishido, do you guys have anything ready yet?
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/15#issuecomment-106970853
.

--
Darius Mehri
Visiting Scholar, Sociology Department
University of California, Berkeley

--
Darius Mehri
Visiting Scholar, Sociology Department
University of California, Berkeley


Documentation and cribl.yml issues.

The entire top-level cribl section of scope.yml appears to be undocumented.
What is the difference between the transport section under cribl versus the transport section under event?
The changelog says:

Improvement: #304 Add support for configuring an authToken to pass to LogStream as a header, using scope run -a ${authToken} in the CLI, or the cribl section of scope.yml.

How do you configure it in the cribl section? What is the name of the key? Is it authToken? Does it go under the transport section, or outside of it?
How do I set tags on events when I want to disable metrics? (See #333 for an additional request regarding tags)
If I omit the log section of scope.yml, will logging be disabled? If I leave the default settings, will the file grow infinitely and fill up my filesystem. Am I responsible for rotation, or does the file manage itself?
The text under Example 2 says:

This again executes the ps command using the AppScope library. But it also directs the library to use the config file /etc/scope/scope.yml.

The example sets SCOPE_HOME not SCOPE_CONF_PATH.
In Example 4, wouldn't SCOPE_HOME need to be writable by the user under which the service is running?

I've already help Jacob through these but responding here for posterity:

There are transport sections under metric, event, libscope > log, and cribl. They all have the same properties.
Use cribl > authtoken to add the "authToken":"..." property to the connection header sent to Cribl/LogStream. It's directly under cribl, not down under cribl > transport.
Add entries under metric > format > tags to add key/value tags in both metrics *AND* events. Yes, it's misleading and we plan to fix that.
The metrics and events sections are automatically disabled when the cribl section is enabled. No need to disable them.
Disabling metrics does not disable tagging metrics and events. Again, this confusion will be cleaned up.
When the cribl section is enabled, libscope > log > level is forcet to warning resulting in a very minimal output to the log file. It's literally just a few lines and should not grow beyond those added lines every time the scoped program starts. Should be fine.
Set SCOPE_HOME to point to a directory under which we expect to find scope.yml and scope_protocol.yml. The SCOPE_CONF_PATH variable would override that for scope.yml but there isn't a corresponding environment variable to set the full path to the scope_protocol.file which you will need so you can disable HTTP and SSL payloads.
We need to be able to read the YML files under SCOPE_HOME but don't need to write there. The only writing we do from the library when the cribl section is enable is the log file. If logsteam > commanddir points to a read able directory and we find a readble scope.PID in it matching our PID, we'll want to be able to read it and then unlink it.

A commented version of the scope.yml with explanations of how configs are loaded will be added on a PR for this issue.

@abetones Added documentation label...  maybe we should add a note in the docs that refers to the scope.yml file as a good place to go for documentation (#489, #490, are related).   This ticket happens to be where documentation for scope.yml was added to the file itself)


Help

Hello! I successfully deployed to Heroku but in the first download the app got banned (due to new heroku policy). So I decided to try and deploy on Render.com.
I edited the vars in  config.py and deployed to render... however this is showing in the logs

Can you send the full traceback in the second screenshot? Also can you access the filesystem? if yes please upload the log files

Here is the full traceback

after this it goes back to the first picture and loops the same sequence of errors..
I don't think I can access the filesystem. :c

It is working now, thanks! I noticed that not all downloads are accepted though for example I tried a few magnets/torrent and the  bot was locked at "processing download" and never started whereas other direct link downloads were accepted just fine, but I guess that is a Render issue, probably blocking/blacklisting sites/words.
Anyways thanks for the help!
I hope u continue to add amazing features to improve your tool, great job!

STATE_SECRET_KEY = generate it

If you face any issues let me know

A noob question here, how to generate the state_secret_key? There's nothing much in the readme
P.S. Sorry if posted in wrong place.

I will look into adding health-check for docker,the feature kind of exists as /keep_alive endpoint for heroku.

I would like to learn how to do it.. I have another project (another bot) that works as intended but due to no healtcheck Render marks the deploy as failed after few mins and the bot stops working despite being fully functional.

Here are few resources if you want to learn

https://docs.docker.com/engine/reference/builder/#healthcheck
https://scoutapm.com/blog/how-to-use-docker-healthcheck

Its pretty simple tbh, I just have to add something like HEALTHCHECK --interval=5m --timeout=3s CMD curl -f http://localhost:{PORT}/keep_alive || exit 1 to DOCKERFILE then build and test it
But right now I am busy with some stuff will fix it in few days

@elricariocco healthcheck has been added to dockerfile,rebuild and re-deploy and let me know if it works

With free service, how much specs render.com gives??
Like ram, storage etc
Thanks in advance

@elricariocco healthcheck has been added to dockerfile,rebuild and re-deploy and let me know if it works

Sadly my render account got terminated when I tried to redeploy your updated repo. I had been running the bot for 4 days so far (I had added /keep_alive to healthcheck var in render and also set up a cron-job that pinged myrenderurl/keep_alive just in case and that was enough. Now with the updated repo I made two new accounts and they just close while deploying. Weird.

With free service, how much specs render.com gives?? Like ram, storage etc
Thanks in advance

Here are the links explaining the limits of free resources:

https://render.com/pricing
https://render.com/docs/free

This is what gets reported by my bot when it comes to storage, I dont know if this is shared or something. (Im using free tier).
This the other repo I told you about, as you can see it works, but since it does not serve anything over https it  does not fullfil the condition of being a "web service" and deploy never ends. Render suggest that these kind of bots be deployed as "Background workers" but that requires credit card... So I'm guessing as long as it serves literally anything it should pass the "serving something over https" condition and therefore deploy would be successful.
I have a simple "Hello World" html I got from the internet but I have no idea how to make it be served as I am not a programmer.

With free service, how much specs render.com gives?? Like ram, storage etc
Thanks in advance

Here are the links explaining the limits of free resources:

https://render.com/pricing
https://render.com/docs/free

This is what gets reported by my bot when it comes to storage, I dont know if this is shared or something. (Im using free tier). This the other repo I told you about, as you can see it works, but since it does not serve anything over https it does not fullfil the condition of being a "web service" and deploy never ends. Render suggest that these kind of bots be deployed as "Background workers" but that requires credit card... So I'm guessing as long as it serves literally anything it should pass the "serving something over https" condition and therefore deploy would be successful. I have a simple "Hello World" html I got from the internet but I have no idea how to make it be served as I am not a programmer.

Brother can u please share your telegram id. We need to talk.

With free service, how much specs render.com gives?? Like ram, storage etc
Thanks in advance

Here are the links explaining the limits of free resources:

https://render.com/pricing
https://render.com/docs/free

This is what gets reported by my bot when it comes to storage, I dont know if this is shared or something. (Im using free tier). This the other repo I told you about, as you can see it works, but since it does not serve anything over https it does not fullfil the condition of being a "web service" and deploy never ends. Render suggest that these kind of bots be deployed as "Background workers" but that requires credit card... So I'm guessing as long as it serves literally anything it should pass the "serving something over https" condition and therefore deploy would be successful. I have a simple "Hello World" html I got from the internet but I have no idea how to make it be served as I am not a programmer.

You can use flask and host it, refer this article https://stackabuse.com/serving-static-files-with-flask/

I tried creating webserver using nginx in dockerfile, also tried using a python script and while both methods did serve the html file they somehow prevented the bot from running, as if serving the html was a different app itself. I can manage to either run the bot or serve the html, not both at the same time.
How did you create the /keep_alive for your app? I think that should work too as it worked for your app.
I'll give flask a try..thanks. And sorry for deviating the topic...Anyways I could prove that your app works in Render for anyone interested, although there's a chance to be banned due to it being a mirror tool.

I tried creating webserver using nginx in dockerfile, also tried using a python script and while both methods did serve the html file they somehow prevented the bot from running, as if serving the html was a different app itself. I can manage to either run the bot or serve the html, not both at the same time.  How did you create the /keep_alive for your app? I think that should work too as it worked for your app. I'll give flask a try..thanks. And sorry for deviating the topic...Anyways I could prove that your app works in Render for anyone interested, although there's a chance to be banned due to it being a mirror tool.

Please explain the process for deploying on render

https://github.com/CoolFool/Ravager/issues/4#issuecomment-1139007285

Thanks

I tried creating webserver using nginx in dockerfile, also tried using a python script and while both methods did serve the html file they somehow prevented the bot from running, as if serving the html was a different app itself. I can manage to either run the bot or serve the html, not both at the same time.  How did you create the /keep_alive for your app? I think that should work too as it worked for your app. I'll give flask a try..thanks. And sorry for deviating the topic...Anyways I could prove that your app works in Render for anyone interested, although there's a chance to be banned due to it being a mirror tool.

Ahh I see the problem, You can serve the file by editing main.py in ravager/main.py and adding a route (see flask tutorials for adding routes)

Can you make an video showing how to make this on render? It would be very apreciated :D

Can you make an video showing how to make this on render? It would be very apreciated :D

Sorry mate, Refer this https://github.com/CoolFool/Ravager/issues/4#issuecomment-1139007285

Can you make an video showing how to make this on render? It would be very apreciated :D

Sorry mate, Refer this #4 (comment)

ah ok, does render.com require an credit card for free service?

Can you make an video showing how to make this on render? It would be very apreciated :D

Sorry mate, Refer this #4 (comment)

ah ok, does render.com require an credit card for free service?

No, not afaik


Happo not updating GitHub check status on base branch

Hi, we started using Happo with the Github integration over at https://github.com/bcgov/cas-ciip-portal, using happo-cypress to trigger the Happo jobs. We love it so far!
Status checks are correctly reported to PRs, but on our base branch the status check remains "Pending — job started". The Happo job itself is completed (e.g. https://happo.io/a/336/jobs/29680).
The Happo jobs are triggered on CircleCI, and we set HAPPO_BASE_BRANCH to be origin/develop

Thanks for the report! I’ll look into this after the weekend. Sounds like something isn’t triggered the right way.
Are you using CircleCi, Travis, or a different CI system? This might not matter, I’m just making sure I can debug this in the best possible way.

Thanks for the quick response!
We use CircleCI. I am wondering if us using a different base branch than the default might have to do with this issue

It shouldn't matter, but I'll make sure to check that.

Sorry for not reporting any results back here. I haven't forgot about it, it's just that other more important things snuck in before I had a chance of addressing this. 🤷
I hope to look at this during the week though.

No worries, let me know if I can help debug the issue

Okay, I think I've confirmed this is a race condition. The happo-cypress lib posts to the create job API endpoint right after it has initialized an async-report. In your case, the first call is very fast and posts a "success" status to the commit on GitHub right away. The second call posts a pending "job started" status as well, overriding the initial success status.
While this could be fixed in the happo-cypress library, I'm going to handle things on the server as well (working on that now). I think other clients might make assumptions about order not being important anyway, so we might as well fix in one place.

I've just deployed a fix for the race-condition to happo.io. I'll close this issue, but feel free to reopen if the issue doesn't go away.

This is working fine now, thanks!

Excellent, thanks for the report!


Large Widgets

Hello, first of all, thank you for Dashy, I find it particularly good to use it.
Unfortunately I have a problem with the widget. Here it is not one and the same widget with multiple items displayed next to each other. For example, I have over 13 ads on Statping. When there are 12 ads, the last ad is cut off or not visible. Unfortunately, even if I set Rows and Columns to 1 digit (small), the widget is not displayed.
I thought I could use the "itemSize" command to change the amount of ads in the widget, but that wasn't possible.
Unfortunately, "cutToHeight" did not produce any results either.
Maybe I just have to use the Statping API to display the groups and I'm currently stumped by their content.
My question.
Is there a way to display long widgets side by side?
In this case, several widgets that refer to a URL also make no sense because otherwise twice the number of the same ads would be visible.
I look forward to your feedback and thank you again for Dashy and the support :)

I am very confused about this PR, why are you reverting tons of changes? I can't tell what you're trying to do...
But from your description, it sounds like the solution to your issue is just to set the --section-max-height to a larger number. For example, using the custom CSS option, add: html { --section-max-height: 6000px; }.

Hello, thank you for the feedback and for the tip with CSS.
The problem was the widget was too long, so I wanted to split the widget horizontally, which is only lengthening.
I have included an image below for this.
I thought it would be possible to include the commands in the Github documentation in the widget tab, but I was wrong.

Ah okay, I think this could be done with a grid layout, alternatively by splitting them into separate sections.

I'm going to close this PR, since there are merge conflicts, and I can't see what changes you were trying to make.
But if you can rebase your branch from master, and submit a new PR with just your changes, I'd be happy to review it, give feedback, and merge it if it's working and neat :)

I am very confused about this PR, why are you reverting tons of changes? I can't tell what you're trying to do...
But from your description, it sounds like the solution to your issue is just to set the --section-max-height to a larger number. For example, using the custom CSS option, add: html { --section-max-height: 6000px; }.

maybe :root { --section-max-height: 6000px; }


HAXM incompatible with gen 1 and gen 7th Intel CPU

Describe the Bug

Summary: Launching the Android Emulator on win10 20H2 on a machine using a Gen 1 or Gen 7 Intel CPU will cause HAXM to generate a VCPU shutdown. Running the emulator with -accel off is the current workaround for this problem.
Host Environment

HAXM version: 7.6.5
Host OS version: Win 10 Home 20H2
Host OS architecture: x86_64
Host CPU model: Intel i5 760
Host RAM size: 4gb
(Optional) Host computer model: Custom built ... a decade ago.

Guest Environment

Android Emulator or QEMU version:  Android emulator version <IP_ADDRESS> (build_id 6962233) (CL:N/A)
Guest OS version: Pixel_4_XL_API_30 (I doubt this matter as the emulator crash before trying to boot)
Guest OS architecture: Unsure

To Reproduce

Steps to reproduce the behavior:

Get a very old computer with a Gen 1 (or 7) Intel CPU
Try to launch the Android Studio emulator with any image
The emulator will display its GUI for a split second and shutdown, console will contain this output:
HAX is working and emulator runs in fast virt mode.
VCPU shutdown request

Expected Behavior

Expectation: The emulator to boot and the OS image to load.
Reproducibility

This is not an intermittent issue, so 100% with my hardware.
Diagnostic Information

Android Emulator or QEMU log:
C:\Users\fmaz008>C:\Users\fmaz008\AppData\Local\Android\Sdk\emulator\emulator.exe -avd Pixel_4_XL_API_30 -no-snapshot -cores 1
Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
HAX is working and emulator runs in fast virt mode.
VCPU shutdown request
emulator: WARNING: Not saving state: RAM not mapped as shared
Additional context
I realized what the issue was because of this StackOverflow comment:
https://stackoverflow.com/a/40198708/613365

I understand this issue target CPUs that are so old it might not be worth spending time fixing it, in which case I could appreciate if the checktool gave some kind of incompatibility warning.

I understand this issue target CPUs that are so old it might not be worth spending time fixing it, in which case I could appreciate if the checktool gave some kind of incompatibility warning.
Also I have trying to get the debug information from the "Capturing Driver log" page, but I'm way too stupid to figure out what I need to do after step 1 (step 1 is OK, step 2 is confusing for me).
(
I have no clue where to get IntelHaxm.cer or a different intelhaxm.sys than the one in C:\Programs\Intel\HAXM\ ... and I have no idea what build and test environment you are talking about as there is litteraly only 3 files in the HAXM installation folder.
I would be more than happy to help getting you that debug but someone will have to provide me with instructions that are a bit more clear for the very average end users that I am ;)
)

Hi @FMaz008 ,thanks for raising issue and giving suggestions here. Yes, we did have a plan to improve the checktool in he feature.(eg.#208)
Regarding your development and debugging confusion, you can refer to below windows manual. Hope it is helpful.
https://github.com/intel/haxm/blob/master/docs/manual-windows.md